snort3: remove hyperscan specific patch

Drop 100-remove-HAVE_HS_COMPILE_LIT-to-work-around-upstream-b.patch as
it was only needed to fix the build against hyperscan. Vectorscan
builds fine without it.

Signed-off-by: John Audia <therealgraysky@proton.me>
This commit is contained in:
John Audia
2025-09-09 19:41:00 -04:00
committed by Hannu Nyman
parent b6b2d1e305
commit 0d643c23dd

View File

@@ -1,34 +0,0 @@
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