aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/clamav/mspack.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/clamav/mspack.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/clamav/mspack.patch')
-rw-r--r--vcpkg/ports/clamav/mspack.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/vcpkg/ports/clamav/mspack.patch b/vcpkg/ports/clamav/mspack.patch
new file mode 100644
index 0000000..5677887
--- /dev/null
+++ b/vcpkg/ports/clamav/mspack.patch
@@ -0,0 +1,44 @@
+diff --git a/cmake/FindMSPack.cmake b/cmake/FindMSPack.cmake
+index cad448f..4ce4f87 100644
+--- a/cmake/FindMSPack.cmake
++++ b/cmake/FindMSPack.cmake
+@@ -50,7 +50,7 @@ find_path(MSPack_INCLUDE_DIR
+ PATH_SUFFIXES mspack
+ )
+ find_library(MSPack_LIBRARY
+- NAMES mspack
++ NAMES libmspack
+ PATHS ${PC_MSPack_LIBRARY_DIRS}
+ )
+
+diff --git a/libclamav/CMakeLists.txt b/libclamav/CMakeLists.txt
+index 136ea30..72db826 100644
+--- a/libclamav/CMakeLists.txt
++++ b/libclamav/CMakeLists.txt
+@@ -504,7 +504,7 @@ target_link_libraries( clamav_obj
+ yara
+ tomsfastmath
+ bytecode_runtime
+- ClamAV::libmspack
++ ${MSPack_LIBRARIES}
+ ClamAV::libclamunrar_iface_iface
+ OpenSSL::SSL
+ OpenSSL::Crypto
+@@ -547,7 +547,7 @@ if(ENABLE_SHARED_LIB)
+ yara
+ tomsfastmath
+ bytecode_runtime
+- ClamAV::libmspack
++ ${MSPack_LIBRARIES}
+ ClamAV::libclamunrar_iface_iface
+ OpenSSL::SSL
+ OpenSSL::Crypto
+@@ -588,7 +588,7 @@ if(ENABLE_STATIC_LIB)
+ yara
+ tomsfastmath
+ bytecode_runtime
+- ClamAV::libmspack
++ ${MSPack_LIBRARIES}
+ ClamAV::libclamunrar_iface_iface
+ OpenSSL::SSL
+ OpenSSL::Crypto