diff options
| author | NHOrus <jy6x2b32pie9@yahoo.com> | 2025-03-23 22:28:39 +0300 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-04-12 21:57:25 +0100 |
| commit | 0c87983827e2c75fd33cf41f88292ead9ec0c5eb (patch) | |
| tree | 9d79a0fba74e41143307773fbb4b3109ae4f5751 /dev-cpp/string-theory/files | |
| parent | 3086ccda6f92ed547d6361be5b15870ad8c5da61 (diff) | |
| download | gentoo-0c87983827e2c75fd33cf41f88292ead9ec0c5eb.tar.gz gentoo-0c87983827e2c75fd33cf41f88292ead9ec0c5eb.tar.bz2 gentoo-0c87983827e2c75fd33cf41f88292ead9ec0c5eb.zip | |
dev-cpp/string-theory: add 3.9
Fixes for CMake4, failing tests inside.
Closes: https://bugs.gentoo.org/880353
Closes: https://bugs.gentoo.org/951904
Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
Closes: https://github.com/gentoo/gentoo/pull/41247
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp/string-theory/files')
| -rw-r--r-- | dev-cpp/string-theory/files/string-theory-3.9-unbundle-gtest.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-cpp/string-theory/files/string-theory-3.9-unbundle-gtest.patch b/dev-cpp/string-theory/files/string-theory-3.9-unbundle-gtest.patch new file mode 100644 index 000000000000..3ebb410b224e --- /dev/null +++ b/dev-cpp/string-theory/files/string-theory-3.9-unbundle-gtest.patch @@ -0,0 +1,18 @@ +Use system GTest instead of fetching it +https://bugs.gentoo.org/880353 +--- a/test/CMakeLists.txt 2025-03-23 22:20:35.060895402 +0300 ++++ b/test/CMakeLists.txt 2025-03-23 22:22:29.964436254 +0300 +@@ -33,12 +33,7 @@ + set(BUILD_GMOCK OFF CACHE INTERNAL "Override gtest default" FORCE) + set(INSTALL_GTEST OFF CACHE INTERNAL "Override gtest default" FORCE) + +-include(FetchContent) +-FetchContent_Declare(gtest +- GIT_REPOSITORY https://github.com/google/googletest.git +- GIT_TAG v1.15.2 +-) +-FetchContent_MakeAvailable(gtest) ++find_package(GTest REQUIRED) + + add_executable(st_gtests "") + target_link_libraries(st_gtests PRIVATE gtest gtest_main string_theory) |
