Merge pull request #16069 from neheb/ele
libelektra: fix compilation with GCC11
This commit is contained in:
commit
ba599764ca
2 changed files with 20 additions and 1 deletions
|
@ -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
|
||||
|
|
19
libs/elektra/patches/010-gcc11.patch
Normal file
19
libs/elektra/patches/010-gcc11.patch
Normal file
|
@ -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>
|
||||
|
Loading…
Reference in a new issue