Browse Source

libelektra: fix compilation with GCC11

Missing header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 3 years ago
parent
commit
92e08f83e5
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