depends: polyseed: remove unused patches

This commit is contained in:
tobtoht 2023-06-30 22:15:28 +02:00
parent 893d0c98be
commit 39083aa02b
No known key found for this signature in database
GPG key ID: E45B10DD027D2472
2 changed files with 0 additions and 67 deletions

View file

@ -1,25 +0,0 @@
From 8c51b00cb98381a791ef3dcda39f76bebaf9d68f Mon Sep 17 00:00:00 2001
From: tobtoht <tob@featherwallet.org>
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 <time.h>
#include <assert.h>
-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

View file

@ -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}