head 1.2; access; symbols pkgsrc-2026Q1:1.2.0.6 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.2.0.4 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.2.0.2 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.1.0.4 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.2 pkgsrc-2025Q1-base:1.1; locks; strict; comment @# @; 1.2 date 2025.08.20.07.22.10; author wiz; state Exp; branches; next 1.1; commitid ONidQvXsAJ3Xhr7G; 1.1 date 2024.12.29.14.56.38; author adam; state Exp; branches; next ; commitid rhkE9uBrAdIVjpDF; desc @@ 1.2 log @hyperscan: fix build with cmake 4 @ text @$NetBSD: patch-chimera_CMakeLists.txt,v 1.1 2024/12/29 14:56:38 adam Exp $ Fix build with cmake 4. Do not leak work dir in pkg-config file. --- chimera/CMakeLists.txt.orig 2023-04-19 09:34:39.000000000 +0000 +++ chimera/CMakeLists.txt @@@@ -28,7 +28,6 @@@@ SET(chimera_SRCS ) add_library(chimera STATIC ${chimera_SRCS}) -add_dependencies(chimera hs pcre) target_link_libraries(chimera hs pcre) install(TARGETS chimera DESTINATION ${CMAKE_INSTALL_LIBDIR}) @@@@ -41,7 +40,7 @@@@ if (NOT WIN32) set(PRIVATE_LIBS "${PRIVATE_LIBS} -l${LIB}") endif() endforeach() - set(PRIVATE_LIBS "${PRIVATE_LIBS} -L${LIBDIR} -lpcre") + set(PRIVATE_LIBS "${PRIVATE_LIBS} -lpcre") configure_file(libch.pc.in libch.pc @@ONLY) # only replace @@ quoted vars install(FILES ${CMAKE_BINARY_DIR}/chimera/libch.pc @ 1.1 log @hyperscan: updated to 5.4.2 5.4.2 Roll back bugfix for github issue 350: Besides using scratch for corresponding database, Hyperscan also allows user to use larger scratch allocated for another database. Users can leverage this property to achieve safe scratch usage in multi-database scenarios. Behaviors beyond these are discouraged and results are undefined. Fix hsdump issue due to invalid nfa type. 5.4.1 The Intel Hyperscan team is pleased to provide a bug fix release to our open source library. Intel also maintains an upgraded version available through your Intel sales representative. Bugfix for issue 184: fix random char value of UTF-8. Bugfix for issue 291: bypass logical combination flag in hs_expression_info(). Bugfix for issue 292: fix build error due to libc symbol parsing. Bugfix for issue 302/304: add empty string check for pure literal API. Bugfix for issue 303: fix unknown instruction error in pure literal API. Bugfix for issue 303: avoid memory leak in stream close stage. Bugfix for issue 305: fix assertion failure in DFA construction. Bugfix for issue 317: fix aligned allocator segment faults. Bugfix for issue 350: add quick validity check for scratch. Bugfix for issue 359: fix glibc-2.34 stack size issue. Bugfix for issue 360: fix SKIP flag issue in chimera. Bugfix for issue 362: fix one cotec check corner issue in UTF-8 validation. Fix other compile issues. 5.4.0 Improvement on literal matcher "Fat Teddy" performance, including support for Intel(R) AVX-512 Vector Byte Manipulation Instructions (Intel(R) AVX-512 VBMI). Introduce a new 32-state shuffle-based DFA engine ("Sheng32"). This improves scanning performance by leveraging AVX-512 VBMI. Introduce a new 64-state shuffle-based DFA engine ("Sheng64"). This improves scanning performance by leveraging AVX-512 VBMI. Introduce a new shuffle-based hybrid DFA engine ("McSheng64"). This improves scanning performance by leveraging AVX-512 VBMI. Improvement on exceptional state handling performance for LimEx NFA, including support for AVX-512 VBMI. Improvement on lookaround performance with new models, including support for AVX-512. Improvement on DFA state space efficiency. Optimization on decision of NFA/DFA generation. hsbench: add CSV dump support for hsbench. Bugfix for cmake error on Icelake under release mode. Bugfix in find_vertices_in_cycles() to avoid self-loop checking in SCC. Bugfix for issue 270: fix return value handling in chimera. Bugfix for issue 284: use correct free function in logical combination. Add BUILD_EXAMPLES cmake option to enable example code compilation. Some typo fixing. @ text @d1 3 a3 1 $NetBSD$ d7 1 a7 1 --- chimera/CMakeLists.txt.orig 2024-12-29 14:09:56.883237585 +0000 d9 9 a17 1 @@@@ -41,7 +41,7 @@@@ if (NOT WIN32) @