diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-04-04 17:42:36 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-04-04 17:42:36 +0000 |
| commit | ce8bac0b2c19b03cc6900f83150e5919a7ef45d8 (patch) | |
| tree | 82941c460cae4c21cdd5bdc457b5ff4d6c0a44b7 /dev-cpp/scnlib | |
| parent | dce6a5a0133497528713915757aea1c985237037 (diff) | |
| download | baldeagleos-repo-ce8bac0b2c19b03cc6900f83150e5919a7ef45d8.tar.gz baldeagleos-repo-ce8bac0b2c19b03cc6900f83150e5919a7ef45d8.tar.xz baldeagleos-repo-ce8bac0b2c19b03cc6900f83150e5919a7ef45d8.zip | |
Adding metadata
Diffstat (limited to 'dev-cpp/scnlib')
| -rw-r--r-- | dev-cpp/scnlib/files/scnlib-2.0.2-accept-simdutf-5.2.x.patch | 16 | ||||
| -rw-r--r-- | dev-cpp/scnlib/scnlib-2.0.2-r1.ebuild (renamed from dev-cpp/scnlib/scnlib-2.0.2.ebuild) | 4 |
2 files changed, 18 insertions, 2 deletions
diff --git a/dev-cpp/scnlib/files/scnlib-2.0.2-accept-simdutf-5.2.x.patch b/dev-cpp/scnlib/files/scnlib-2.0.2-accept-simdutf-5.2.x.patch new file mode 100644 index 000000000000..af0feb295c7a --- /dev/null +++ b/dev-cpp/scnlib/files/scnlib-2.0.2-accept-simdutf-5.2.x.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.2.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/scnlib-2.0.2.ebuild b/dev-cpp/scnlib/scnlib-2.0.2-r1.ebuild index dd3f493e65ef..c4d3153a0635 100644 --- a/dev-cpp/scnlib/scnlib-2.0.2.ebuild +++ b/dev-cpp/scnlib/scnlib-2.0.2-r1.ebuild @@ -16,14 +16,14 @@ IUSE="test" BDEPEND=" dev-cpp/fast_float - >=dev-cpp/simdutf-4.0.0:= + >=dev-cpp/simdutf-5.2.0:= test? ( dev-cpp/gtest ) " RESTRICT="!test? ( test )" PATCHES=( - "${FILESDIR}/${P}-accept-newer-simdutf.patch" + "${FILESDIR}/${P}-accept-simdutf-5.2.x.patch" ) src_prepare() { |
