summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2021-09-08 16:22:23 -0700
committerPatrick McLean <chutzpah@gentoo.org>2021-09-08 16:22:23 -0700
commit9e6955223160b1a7675406e106ea471ace8f404e (patch)
tree3914785f125ae179c5113f9f3350b4a4c00512a7 /dev-libs/simdjson/files/simdjson-1.0.0-dont-fetch-data-tarball.patch
parentprofiles: [QA] mask =dev-libs/simdjson-1.0.0 (diff)
downloadgentoo-9e6955223160b1a7675406e106ea471ace8f404e.tar.gz
gentoo-9e6955223160b1a7675406e106ea471ace8f404e.tar.bz2
gentoo-9e6955223160b1a7675406e106ea471ace8f404e.zip
dev-libs/simdjson-1.0.0-r1: Bump, fix bug #812185
Closes: https://bugs.gentoo.org/812185 Package-Manager: Portage-3.0.22, Repoman-3.0.3 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-libs/simdjson/files/simdjson-1.0.0-dont-fetch-data-tarball.patch')
-rw-r--r--dev-libs/simdjson/files/simdjson-1.0.0-dont-fetch-data-tarball.patch8
1 files changed, 5 insertions, 3 deletions
diff --git a/dev-libs/simdjson/files/simdjson-1.0.0-dont-fetch-data-tarball.patch b/dev-libs/simdjson/files/simdjson-1.0.0-dont-fetch-data-tarball.patch
index 2459604d9800..b3cd8558b2ff 100644
--- a/dev-libs/simdjson/files/simdjson-1.0.0-dont-fetch-data-tarball.patch
+++ b/dev-libs/simdjson/files/simdjson-1.0.0-dont-fetch-data-tarball.patch
@@ -1,14 +1,16 @@
diff --git a/dependencies/CMakeLists.txt b/dependencies/CMakeLists.txt
-index 76651318..91232ce0 100644
+index 76651318..da5029c0 100644
--- a/dependencies/CMakeLists.txt
+++ b/dependencies/CMakeLists.txt
-@@ -19,8 +19,7 @@ if(SIMDJSON_GOOGLE_BENCHMARKS)
+@@ -19,8 +19,9 @@ if(SIMDJSON_GOOGLE_BENCHMARKS)
endif()
# The bulk of our benchmarking and testing data has been moved simdjson/simdjson-data
-import_dependency(simdjson-data simdjson/simdjson-data a5b13babe65c1bba7186b41b43d4cbdc20a5c470)
-add_dependency(simdjson-data)
-+add_subdirectory(simdjson-data dependencies/simdjson-data)
++if(SIMDJSON_TESTS)
++ add_subdirectory(simdjson-data dependencies/simdjson-data)
++endif()
# This prevents variables declared with set() from unnecessarily escaping and
# should not be called more than once