From 9c26fcf51085241030a088f8ac16051c756386cd Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 7 Mar 2023 23:58:32 +0000 Subject: gentoo auto-resync : 07:03:2023 - 23:58:31 --- dev-libs/thrift/files/thrift-0.18.1-tests.patch | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 dev-libs/thrift/files/thrift-0.18.1-tests.patch (limited to 'dev-libs/thrift/files/thrift-0.18.1-tests.patch') diff --git a/dev-libs/thrift/files/thrift-0.18.1-tests.patch b/dev-libs/thrift/files/thrift-0.18.1-tests.patch new file mode 100644 index 000000000000..7716e0c743c2 --- /dev/null +++ b/dev-libs/thrift/files/thrift-0.18.1-tests.patch @@ -0,0 +1,33 @@ +diff --git a/lib/cpp/test/CMakeLists.txt b/lib/cpp/test/CMakeLists.txt +index 1117cd9f3..5f56aaca8 100644 +--- a/lib/cpp/test/CMakeLists.txt ++++ b/lib/cpp/test/CMakeLists.txt +@@ -318,28 +318,6 @@ target_link_libraries(OpenSSLManualInitTest + target_link_libraries(OpenSSLManualInitTest thrift) + add_test(NAME OpenSSLManualInitTest COMMAND OpenSSLManualInitTest) + +-add_executable(SecurityTest SecurityTest.cpp) +-target_link_libraries(SecurityTest +- testgencpp +- ${Boost_LIBRARIES} +-) +-target_link_libraries(SecurityTest thrift) +-if (NOT MSVC AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin" AND NOT MINGW) +- target_link_libraries(SecurityTest -lrt) +-endif () +-add_test(NAME SecurityTest COMMAND SecurityTest -- "${CMAKE_CURRENT_SOURCE_DIR}/../../../test/keys") +- +-add_executable(SecurityFromBufferTest SecurityFromBufferTest.cpp) +-target_link_libraries(SecurityFromBufferTest +- testgencpp +- ${Boost_LIBRARIES} +-) +-target_link_libraries(SecurityFromBufferTest thrift) +-if (NOT MSVC AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin" AND NOT MINGW) +- target_link_libraries(SecurityFromBufferTest -lrt) +-endif () +-add_test(NAME SecurityFromBufferTest COMMAND SecurityFromBufferTest -- "${CMAKE_CURRENT_SOURCE_DIR}/../../../test/keys") +- + endif() + + if(WITH_QT5) -- cgit v1.2.3