libelektra: fix compilation with GCC11
authorRosen Penev <rosenp@gmail.com>
Wed, 7 Jul 2021 07:36:22 +0000 (00:36 -0700)
committerRosen Penev <rosenp@gmail.com>
Wed, 7 Jul 2021 21:49:57 +0000 (14:49 -0700)
Missing header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
libs/elektra/Makefile
libs/elektra/patches/010-gcc11.patch [new file with mode: 0644]

index 6a719c37267fc93f649f347d6288d38569b4c2a9..7a900e57b86170113a6834b3aa553a0d77911949 100644 (file)
@@ -15,7 +15,7 @@ PKG_NAME:=elektra
 PKG_LICENSE:=BSD-3-Clause
 PKG_LICENSE_FILES:=LICENSE.md
 PKG_VERSION:=0.9.2
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 # Use this for official releasees
 PKG_HASH:=6f2fcf8aaed8863e1cc323265ca2617751ca50dac974b43a0811bcfd4a511f2e
diff --git a/libs/elektra/patches/010-gcc11.patch b/libs/elektra/patches/010-gcc11.patch
new file mode 100644 (file)
index 0000000..3a91cbe
--- /dev/null
@@ -0,0 +1,19 @@
+From 7b57dc698834937b6913887544c6416e7f39192d Mon Sep 17 00:00:00 2001
+From: Mihael Pranjic <mpranj@limun.org>
+Date: Mon, 26 Apr 2021 14:53:21 +0200
+Subject: [PATCH] kdb: add missing <limits> include
+
+---
+ src/tools/kdb/cmdline.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/src/tools/kdb/cmdline.cpp
++++ b/src/tools/kdb/cmdline.cpp
+@@ -16,6 +16,7 @@
+ #include <cstdio>
+ #include <iostream>
++#include <limits>
+ #include <set>
+ #include <vector>