From 39083aa02b53ef1020fd4618fc9b41baa223c227 Mon Sep 17 00:00:00 2001 From: tobtoht Date: Fri, 30 Jun 2023 22:15:28 +0200 Subject: [PATCH] depends: polyseed: remove unused patches --- contrib/depends/patches/polyseed/32-bit.patch | 25 ----------- .../depends/patches/polyseed/no_shared.patch | 42 ------------------- 2 files changed, 67 deletions(-) delete mode 100644 contrib/depends/patches/polyseed/32-bit.patch delete mode 100644 contrib/depends/patches/polyseed/no_shared.patch diff --git a/contrib/depends/patches/polyseed/32-bit.patch b/contrib/depends/patches/polyseed/32-bit.patch deleted file mode 100644 index 07da254..0000000 --- a/contrib/depends/patches/polyseed/32-bit.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 8c51b00cb98381a791ef3dcda39f76bebaf9d68f Mon Sep 17 00:00:00 2001 -From: tobtoht -Date: Fri, 23 Dec 2022 13:51:36 +0100 -Subject: [PATCH] allow compiling on 32-bit machines - ---- - src/birthday.h | 2 -- - 1 file changed, 2 deletions(-) - -diff --git a/src/birthday.h b/src/birthday.h -index 822883a..5af79aa 100644 ---- a/src/birthday.h -+++ b/src/birthday.h -@@ -7,8 +7,6 @@ - #include - #include - --static_assert(sizeof(time_t) == 8, "time_t must be a 64-bit type."); -- - #define EPOCH ((uint64_t)1635768000) /* 1st November 2021 12:00 UTC */ - #define TIME_STEP ((uint64_t)2629746) /* 30.436875 days = 1/12 of the Gregorian year */ - --- -2.39.0 - diff --git a/contrib/depends/patches/polyseed/no_shared.patch b/contrib/depends/patches/polyseed/no_shared.patch deleted file mode 100644 index 8a5f73b..0000000 --- a/contrib/depends/patches/polyseed/no_shared.patch +++ /dev/null @@ -1,42 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -28,19 +28,20 @@ if(NOT CMAKE_BUILD_TYPE) - message(STATUS "Setting default build type: ${CMAKE_BUILD_TYPE}") - endif() - --add_library(polyseed SHARED ${polyseed_sources}) --set_property(TARGET polyseed PROPERTY POSITION_INDEPENDENT_CODE ON) --set_property(TARGET polyseed PROPERTY PUBLIC_HEADER include/polyseed.h) --include_directories(polyseed -- include/) --target_compile_definitions(polyseed PRIVATE POLYSEED_SHARED) --set_target_properties(polyseed PROPERTIES VERSION 1.0.0 -- SOVERSION 1 -- C_STANDARD 11 -- C_STANDARD_REQUIRED ON) -+#add_library(polyseed SHARED ${polyseed_sources}) -+#set_property(TARGET polyseed PROPERTY POSITION_INDEPENDENT_CODE ON) -+#set_property(TARGET polyseed PROPERTY PUBLIC_HEADER include/polyseed.h) -+#include_directories(polyseed -+# include/) -+#target_compile_definitions(polyseed PRIVATE POLYSEED_SHARED) -+#set_target_properties(polyseed PROPERTIES VERSION 1.0.0 -+# SOVERSION 1 -+# C_STANDARD 11 -+# C_STANDARD_REQUIRED ON) - - add_library(polyseed_static STATIC ${polyseed_sources}) - set_property(TARGET polyseed_static PROPERTY POSITION_INDEPENDENT_CODE ON) -+set_property(TARGET polyseed_static PROPERTY PUBLIC_HEADER include/polyseed.h) - include_directories(polyseed_static - include/) - target_compile_definitions(polyseed_static PRIVATE POLYSEED_STATIC) -@@ -57,7 +58,7 @@ target_link_libraries(polyseed-tests - PRIVATE polyseed_static) - - include(GNUInstallDirs) --install(TARGETS polyseed polyseed_static -+install(TARGETS polyseed_static - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} - ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}