From: Rosen Penev Date: Thu, 16 Nov 2023 21:08:33 +0000 (-0800) Subject: snort3: fix compilation with gcc13 X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=c990f18f4c233eabcd4e3981ade615d480aea093;p=openwrt-packages.git snort3: fix compilation with gcc13 Missing header. Signed-off-by: Rosen Penev --- diff --git a/net/snort3/Makefile b/net/snort3/Makefile index 2849135b2..5e452d180 100644 --- a/net/snort3/Makefile +++ b/net/snort3/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=snort3 PKG_VERSION:=3.1.74.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/snort3/snort3/archive/refs/tags/ diff --git a/net/snort3/patches/010-gcc13.patch b/net/snort3/patches/010-gcc13.patch new file mode 100644 index 000000000..4bfaee1db --- /dev/null +++ b/net/snort3/patches/010-gcc13.patch @@ -0,0 +1,14 @@ +--- a/src/network_inspectors/packet_capture/packet_capture.h ++++ b/src/network_inspectors/packet_capture/packet_capture.h +@@ -20,9 +20,10 @@ + #ifndef PACKET_CAPTURE_H + #define PACKET_CAPTURE_H + ++#include + #include + +-void packet_capture_enable(const std::string&, const int16_t g = -1); ++void packet_capture_enable(const std::string&, const std::int16_t g = -1); + void packet_capture_disable(); + + #endif