From: Rosen Penev Date: Thu, 16 May 2024 03:17:39 +0000 (-0700) Subject: pciutils: fix compilation with GCC14 X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=aefb276884f5abdb9c6770f82e9b101e40340137;p=openwrt-packages.git pciutils: fix compilation with GCC14 Missing header. Signed-off-by: Rosen Penev --- diff --git a/utils/pciutils/Makefile b/utils/pciutils/Makefile index 8ba77aa33..7a86c6ad9 100644 --- a/utils/pciutils/Makefile +++ b/utils/pciutils/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=pciutils PKG_VERSION:=3.12.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@KERNEL/software/utils/pciutils diff --git a/utils/pciutils/patches/110-gcc14.patch b/utils/pciutils/patches/110-gcc14.patch new file mode 100644 index 000000000..98aec76cf --- /dev/null +++ b/utils/pciutils/patches/110-gcc14.patch @@ -0,0 +1,10 @@ +--- a/lib/sysfs.c ++++ b/lib/sysfs.c +@@ -20,6 +20,7 @@ + #include + #include + #include ++#include + + #include "internal.h" +