From b0ddfc85dae1440bbd7760f631d1139c4b4725ce Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 12 May 2024 20:39:52 -0700 Subject: [PATCH] bwm-ng: fix compilation with GCC 14 Header is missing. Signed-off-by: Rosen Penev --- net/bwm-ng/Makefile | 2 +- net/bwm-ng/patches/010-gcc14.patch | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 net/bwm-ng/patches/010-gcc14.patch diff --git a/net/bwm-ng/Makefile b/net/bwm-ng/Makefile index 5ff84f2bd8..5a42fd0267 100644 --- a/net/bwm-ng/Makefile +++ b/net/bwm-ng/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=bwm-ng PKG_VERSION:=0.6.3 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.gropp.org/bwm-ng diff --git a/net/bwm-ng/patches/010-gcc14.patch b/net/bwm-ng/patches/010-gcc14.patch new file mode 100644 index 0000000000..0c771b57c9 --- /dev/null +++ b/net/bwm-ng/patches/010-gcc14.patch @@ -0,0 +1,10 @@ +--- a/src/defines.h ++++ b/src/defines.h +@@ -22,6 +22,7 @@ + #ifndef __HAVE_DEFINE_H + #define __HAVE_DEFINE_H + ++#include + #include + #include + #include -- 2.30.2