Files
packages/net/snort3/patches/110-packet_capture-Fix-compilation-with-GCC-13.patch
John Audia 65f6fee7c0 snort3: update to 3.1.84.0
1. Update to latest version
2. Remove redundant section in Makefile

Changelog: https://github.com/snort3/snort3/releases/tag/3.1.84.0

   ,,_     -*> Snort++ <*-
  o"  )~   Version 3.1.84.0
   ''''    By Martin Roesch & The Snort Team
           http://snort.org/contact#team
           Copyright (C) 2014-2024 Cisco and/or its affiliates. All rights reserved.
           Copyright (C) 1998-2013 Sourcefire, Inc., et al.
           Using DAQ version 3.0.14
           Using LuaJIT version 2.1.0-beta3
           Using OpenSSL 3.0.13 30 Jan 2024
           Using libpcap version 1.10.4 (with TPACKET_V3)
           Using PCRE version 8.45 2021-06-15
           Using ZLIB version 1.3.1
           Using Hyperscan version 5.4.2 2024-04-10
           Using LZMA version 5.4.6

Build system: x86/64
Build-tested: x86/64/AMD Cezanne
Run-tested: x86/64/AMD Cezanne

Signed-off-by: John Audia <therealgraysky@proton.me>
2024-04-13 14:06:47 -07:00

23 lines
887 B
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Hauke Mehrtens <hauke@hauke-m.de>
Date: Sat, 23 Mar 2024 19:11:15 +0100
Subject: packet_capture: Fix compilation with GCC 13
Fix the following compile problem with GCC 13:
src/network_inspectors/packet_capture/packet_capture.h:25:54: error: 'int16_t' does not name a type
25 | void packet_capture_enable(const std::string&, const int16_t g = -1, const std::string& t = "");
---
src/network_inspectors/packet_capture/packet_capture.h | 1 +
1 file changed, 1 insertion(+)
--- a/src/network_inspectors/packet_capture/packet_capture.h
+++ b/src/network_inspectors/packet_capture/packet_capture.h
@@ -22,6 +22,7 @@
#include <cstdint>
#include <string>
+#include <cstdint>
void packet_capture_enable(const std::string&, const int16_t g = -1, const std::string& t = "");
void packet_capture_disable();