summaryrefslogtreecommitdiff
path: root/dev-cpp/scnlib/files
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-03-27 18:42:30 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-03-27 18:42:30 +0000
commita1485f6471ac2567f76a7f33e032c9bef8a0e412 (patch)
tree8a031dc4a8eed843a1ac86145d605e8c694ba1a8 /dev-cpp/scnlib/files
parent4387175f6b4a0d6a696cddfd00ad161d53fbc214 (diff)
downloadsrcux-a1485f6471ac2567f76a7f33e032c9bef8a0e412.tar.gz
srcux-a1485f6471ac2567f76a7f33e032c9bef8a0e412.tar.xz
srcux-a1485f6471ac2567f76a7f33e032c9bef8a0e412.zip
Adding metadata
Diffstat (limited to 'dev-cpp/scnlib/files')
-rw-r--r--dev-cpp/scnlib/files/scnlib-2.0.2-accept-newer-simdutf.patch16
-rw-r--r--dev-cpp/scnlib/files/scnlib-2.0.2-no-external-test-deps.patch (renamed from dev-cpp/scnlib/files/scnlib-2.0.0-no-external-test-deps.patch)0
2 files changed, 16 insertions, 0 deletions
diff --git a/dev-cpp/scnlib/files/scnlib-2.0.2-accept-newer-simdutf.patch b/dev-cpp/scnlib/files/scnlib-2.0.2-accept-newer-simdutf.patch
new file mode 100644
index 000000000000..3e42ae495a68
--- /dev/null
+++ b/dev-cpp/scnlib/files/scnlib-2.0.2-accept-newer-simdutf.patch
@@ -0,0 +1,16 @@
+diff --git a/cmake/dependencies.cmake b/cmake/dependencies.cmake
+index ae2832b..186fbed 100644
+--- a/cmake/dependencies.cmake
++++ b/cmake/dependencies.cmake
+@@ -61,7 +61,10 @@ endif ()
+ # we don't want to include tests of dependencies, so we need to do some manual work
+
+ if (SCN_USE_EXTERNAL_SIMDUTF)
+- find_package(simdutf 4.0.0 CONFIG REQUIRED)
++ find_package(simdutf 5.0.0 CONFIG)
++ if(NOT simdutf_FOUND)
++ find_package(simdutf 4.0.0 CONFIG REQUIRED)
++ endif()
+ else ()
+ FetchContent_Declare(
+ simdutf
diff --git a/dev-cpp/scnlib/files/scnlib-2.0.0-no-external-test-deps.patch b/dev-cpp/scnlib/files/scnlib-2.0.2-no-external-test-deps.patch
index e78ba0a2a15d..e78ba0a2a15d 100644
--- a/dev-cpp/scnlib/files/scnlib-2.0.0-no-external-test-deps.patch
+++ b/dev-cpp/scnlib/files/scnlib-2.0.2-no-external-test-deps.patch