Browse Source

Merge pull request #16069 from neheb/ele

libelektra: fix compilation with GCC11
lilik-openwrt-22.03
Rosen Penev 4 years ago
committed by GitHub
parent
commit
ba599764ca
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 1 deletions
  1. +1
    -1
      libs/elektra/Makefile
  2. +19
    -0
      libs/elektra/patches/010-gcc11.patch

+ 1
- 1
libs/elektra/Makefile View 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


+ 19
- 0
libs/elektra/patches/010-gcc11.patch View 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…
Cancel
Save