commit: 3e4a09873fc54447da223fc3e68f4463d85fb262 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Jul 26 03:21:54 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Jul 26 03:21:54 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e4a0987
dev-libs/unittest++: drop patch I ended up not using .. because it needs another. I went for a workaround instead. Signed-off-by: Sam James <sam <AT> gentoo.org> .../files/unittest++-2.0.0-fix-pc-version.patch | 37 ---------------------- 1 file changed, 37 deletions(-) diff --git a/dev-libs/unittest++/files/unittest++-2.0.0-fix-pc-version.patch b/dev-libs/unittest++/files/unittest++-2.0.0-fix-pc-version.patch deleted file mode 100644 index f8890db4ef00..000000000000 --- a/dev-libs/unittest++/files/unittest++-2.0.0-fix-pc-version.patch +++ /dev/null @@ -1,37 +0,0 @@ -https://bugs.gentoo.org/863974 -https://github.com/unittest-cpp/unittest-cpp/pull/188 -https://github.com/msys2/MINGW-packages/issues/17297 - -From 91790b98e03654c72b0783cf8fbc66c5f56892f5 Mon Sep 17 00:00:00 2001 -From: Sergei Trofimovich <[email protected]> -Date: Mon, 18 Dec 2023 19:05:55 +0000 -Subject: [PATCH] CMakeLists.txt: fix PACKAGE_VERSION substitution in .pc file - -Before the change project built using `cmake` had Version field empty: - - Version: - -After the change version is set as expected: - - Version: 2.1.0 - -Noticed as as a build failure of `echant-2.6.4` which failed to find the -package using `pkg-config --exists --print-errors "UnitTest++ >= 1.6"` -expression. ---- - CMakeLists.txt | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index b4c75c9..10ecf60 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -135,6 +135,7 @@ set(prefix ${CMAKE_INSTALL_PREFIX}) - set(exec_prefix ${CMAKE_INSTALL_PREFIX}/bin) - set(libdir ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}) - set(includedir ${CMAKE_INSTALL_PREFIX}/include/UnitTest++) -+set(PACKAGE_VERSION ${CMAKE_PROJECT_VERSION}) - configure_file("UnitTest++.pc.in" "UnitTest++.pc" @ONLY) - if(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD") - set(pkgconfdir ${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig) -
