From aa5e04605435cf1d65de24e6308f54b72e6c44f7 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 12 May 2024 20:38:57 -0700 Subject: [PATCH] apinger: fix compilation with GCC 14 Header is missing. Signed-off-by: Rosen Penev --- net/apinger/Makefile | 2 +- net/apinger/patches/070-gcc14.patch | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 net/apinger/patches/070-gcc14.patch diff --git a/net/apinger/Makefile b/net/apinger/Makefile index 4d24a23917..e37a9b3e5d 100644 --- a/net/apinger/Makefile +++ b/net/apinger/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=apinger PKG_SOURCE_DATE:=2015-04-09 PKG_SOURCE_VERSION:=78eb328721ba1a10571c19df95acddcb5f0c17c8 -PKG_RELEASE:=6 +PKG_RELEASE:=7 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/Jajcus/apinger diff --git a/net/apinger/patches/070-gcc14.patch b/net/apinger/patches/070-gcc14.patch new file mode 100644 index 0000000000..0123d8e931 --- /dev/null +++ b/net/apinger/patches/070-gcc14.patch @@ -0,0 +1,10 @@ +--- a/src/conf.c ++++ b/src/conf.c +@@ -27,6 +27,7 @@ + #endif + #include "conf.h" + #include "cfgparser1.h" ++#include "debug.h" + + #ifdef HAVE_ASSERT_H + # include