snort3: fix compilation with gcc13
Missing header. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
24b751bcf0
commit
c990f18f4c
2 changed files with 15 additions and 1 deletions
|
@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=snort3
|
PKG_NAME:=snort3
|
||||||
PKG_VERSION:=3.1.74.0
|
PKG_VERSION:=3.1.74.0
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://github.com/snort3/snort3/archive/refs/tags/
|
PKG_SOURCE_URL:=https://github.com/snort3/snort3/archive/refs/tags/
|
||||||
|
|
14
net/snort3/patches/010-gcc13.patch
Normal file
14
net/snort3/patches/010-gcc13.patch
Normal file
|
@ -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 <cstdint>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
|
-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
|
Loading…
Reference in a new issue