diff options
Diffstat (limited to 'meta-networking/recipes-connectivity/snort/snort3')
-rw-r--r-- | meta-networking/recipes-connectivity/snort/snort3/0001-Fix-build-with-gcc-15.patch | 79 | ||||
-rw-r--r-- | meta-networking/recipes-connectivity/snort/snort3/0001-cmake-Pass-noline-flag-to-flex.patch | 1 |
2 files changed, 80 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/snort/snort3/0001-Fix-build-with-gcc-15.patch b/meta-networking/recipes-connectivity/snort/snort3/0001-Fix-build-with-gcc-15.patch new file mode 100644 index 0000000000..f9cade5256 --- /dev/null +++ b/meta-networking/recipes-connectivity/snort/snort3/0001-Fix-build-with-gcc-15.patch | |||
@@ -0,0 +1,79 @@ | |||
1 | From 2bfb46b11d35f2fc5f3926376651cc936c6eab13 Mon Sep 17 00:00:00 2001 | ||
2 | From: Nguyen Dat Tho <tho3.nguyen@lge.com> | ||
3 | Date: Mon, 31 Mar 2025 15:59:51 +0900 | ||
4 | Subject: [PATCH] Fix build with gcc-15 | ||
5 | |||
6 | Signed-off-by: Nguyen Dat Tho <tho3.nguyen@lge.com> | ||
7 | |||
8 | Upstream-Status: Submitted <https://github.com/snort3/snort3/pull/408> | ||
9 | --- | ||
10 | tools/snort2lua/config_states/config_ignore_ports.cc | 1 + | ||
11 | tools/snort2lua/preprocessor_states/pps_dcerpc_server.cc | 1 + | ||
12 | tools/snort2lua/preprocessor_states/pps_frag3_engine.cc | 1 + | ||
13 | tools/snort2lua/preprocessor_states/pps_stream5_tcp.cc | 1 + | ||
14 | tools/snort2lua/rule_states/rule_gid_sid.cc | 1 + | ||
15 | 5 files changed, 5 insertions(+) | ||
16 | |||
17 | diff --git a/tools/snort2lua/config_states/config_ignore_ports.cc b/tools/snort2lua/config_states/config_ignore_ports.cc | ||
18 | index 4ddfebb5d..ec180a558 100644 | ||
19 | --- a/tools/snort2lua/config_states/config_ignore_ports.cc | ||
20 | +++ b/tools/snort2lua/config_states/config_ignore_ports.cc | ||
21 | @@ -21,6 +21,7 @@ | ||
22 | #include <vector> | ||
23 | #include <string> | ||
24 | #include <stdexcept> | ||
25 | +#include <cstdint> | ||
26 | |||
27 | #include "conversion_state.h" | ||
28 | #include "helpers/converter.h" | ||
29 | diff --git a/tools/snort2lua/preprocessor_states/pps_dcerpc_server.cc b/tools/snort2lua/preprocessor_states/pps_dcerpc_server.cc | ||
30 | index 2a41decb8..79e98dd2b 100644 | ||
31 | --- a/tools/snort2lua/preprocessor_states/pps_dcerpc_server.cc | ||
32 | +++ b/tools/snort2lua/preprocessor_states/pps_dcerpc_server.cc | ||
33 | @@ -25,6 +25,7 @@ | ||
34 | |||
35 | #include <algorithm> | ||
36 | #include <cstring> | ||
37 | +#include <cstdint> | ||
38 | |||
39 | namespace preprocessors | ||
40 | { | ||
41 | diff --git a/tools/snort2lua/preprocessor_states/pps_frag3_engine.cc b/tools/snort2lua/preprocessor_states/pps_frag3_engine.cc | ||
42 | index d5c1fcf4d..c0309cc6f 100644 | ||
43 | --- a/tools/snort2lua/preprocessor_states/pps_frag3_engine.cc | ||
44 | +++ b/tools/snort2lua/preprocessor_states/pps_frag3_engine.cc | ||
45 | @@ -19,6 +19,7 @@ | ||
46 | |||
47 | #include <sstream> | ||
48 | #include <vector> | ||
49 | +#include <cstdint> | ||
50 | |||
51 | #include "conversion_state.h" | ||
52 | #include "helpers/converter.h" | ||
53 | diff --git a/tools/snort2lua/preprocessor_states/pps_stream5_tcp.cc b/tools/snort2lua/preprocessor_states/pps_stream5_tcp.cc | ||
54 | index 1e97a58ad..3df35340e 100644 | ||
55 | --- a/tools/snort2lua/preprocessor_states/pps_stream5_tcp.cc | ||
56 | +++ b/tools/snort2lua/preprocessor_states/pps_stream5_tcp.cc | ||
57 | @@ -20,6 +20,7 @@ | ||
58 | #include <sstream> | ||
59 | #include <vector> | ||
60 | #include <string> | ||
61 | +#include <cstdint> | ||
62 | |||
63 | #include "conversion_state.h" | ||
64 | #include "helpers/s2l_util.h" | ||
65 | diff --git a/tools/snort2lua/rule_states/rule_gid_sid.cc b/tools/snort2lua/rule_states/rule_gid_sid.cc | ||
66 | index 7f2b84ae4..d3215b655 100644 | ||
67 | --- a/tools/snort2lua/rule_states/rule_gid_sid.cc | ||
68 | +++ b/tools/snort2lua/rule_states/rule_gid_sid.cc | ||
69 | @@ -27,6 +27,7 @@ | ||
70 | |||
71 | #include <sstream> | ||
72 | #include <unordered_map> | ||
73 | +#include <cstdint> | ||
74 | |||
75 | #include "conversion_state.h" | ||
76 | #include "helpers/converter.h" | ||
77 | -- | ||
78 | 2.34.1 | ||
79 | |||
diff --git a/meta-networking/recipes-connectivity/snort/snort3/0001-cmake-Pass-noline-flag-to-flex.patch b/meta-networking/recipes-connectivity/snort/snort3/0001-cmake-Pass-noline-flag-to-flex.patch index ec7b90cfb4..626f412731 100644 --- a/meta-networking/recipes-connectivity/snort/snort3/0001-cmake-Pass-noline-flag-to-flex.patch +++ b/meta-networking/recipes-connectivity/snort/snort3/0001-cmake-Pass-noline-flag-to-flex.patch | |||
@@ -8,6 +8,7 @@ could be absolute build paths, since these files end up in dbg packages | |||
8 | this can be flagged as a build/packaging warning. | 8 | this can be flagged as a build/packaging warning. |
9 | 9 | ||
10 | Upstream-Status: Pending | 10 | Upstream-Status: Pending |
11 | |||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
12 | --- | 13 | --- |
13 | cmake/configure_options.cmake | 2 +- | 14 | cmake/configure_options.cmake | 2 +- |