0
0
mirror of https://github.com/openwrt/packages.git synced 2025-07-04 21:13:09 +00:00
Files
packages/net/snort3/patches/100-remove-HAVE_HS_COMPILE_LIT-to-work-around-upstream-b.patch
John Audia 21c63a67e3 snort3: update to 3.6.2.0
Changelog: https://github.com/snort3/snort3/releases/tag/3.6.2.0

% snort --version

   ,,_     -*> Snort++ <*-
  o"  )~   Version 3.6.2.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.18
           Using Hyperscan version 5.4.2 2025-01-28
           Using libpcap version 1.10.5 (with TPACKET_V3)
           Using LuaJIT version 2.1.0-beta3
           Using LZMA version 5.6.2
           Using OpenSSL 3.0.15 3 Sep 2024
           Using PCRE2 version 10.42 2022-12-11
           Using ZLIB version 1.3.1

Signed-off-by: John Audia <therealgraysky@proton.me>
2025-01-30 19:19:00 +02:00

35 lines
992 B
Diff

From bf87399e720ec5e5adf9d74a17d86781b1e41428 Mon Sep 17 00:00:00 2001
From: graysky <therealgraysky@proton.me>
Date: Mon, 8 Jan 2024 13:00:28 -0500
Subject: [PATCH] Hack: fix build with hyperscan
Workaround to build until upstream bug is fixed[1].
1. https://github.com/intel/hyperscan/issues/388
---
cmake/sanity_checks.cmake | 1 -
config.cmake.h.in | 1 -
2 files changed, 2 deletions(-)
--- a/cmake/sanity_checks.cmake
+++ b/cmake/sanity_checks.cmake
@@ -136,7 +136,6 @@ if (HS_FOUND)
cmake_push_check_state(RESET)
set(CMAKE_REQUIRED_INCLUDES ${HS_INCLUDE_DIRS})
set(CMAKE_REQUIRED_LIBRARIES ${HS_LIBRARIES})
- check_function_exists(hs_compile_lit HAVE_HS_COMPILE_LIT)
cmake_pop_check_state()
endif()
endif()
--- a/config.cmake.h.in
+++ b/config.cmake.h.in
@@ -127,7 +127,6 @@
/* hyperscan available */
#cmakedefine HAVE_HYPERSCAN 1
-#cmakedefine HAVE_HS_COMPILE_LIT 1
/* iconv available */
#cmakedefine HAVE_ICONV 1