[packages/libfaketime] Up to 0.9.14

arekm arekm at pld-linux.org
Thu Nov 26 09:03:41 CET 2026


commit a33f84786fb0756a68777a9aff605a3665bd37da
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Nov 26 02:18:56 2026 +0100

    Up to 0.9.14

 libfaketime-gcc16-const.patch | 20 --------------------
 libfaketime.spec              |  6 ++----
 2 files changed, 2 insertions(+), 24 deletions(-)
---
diff --git a/libfaketime.spec b/libfaketime.spec
index ea7d2e6..d23081f 100644
--- a/libfaketime.spec
+++ b/libfaketime.spec
@@ -1,12 +1,11 @@
 Summary:	Report faked system time
 Name:		libfaketime
-Version:	0.9.12
+Version:	0.9.14
 Release:	1
 License:	GPL v2
 Group:		Libraries
 Source0:	https://github.com/wolfcw/libfaketime/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
-# Source0-md5:	ad359ea78db3d28ba2520c34800306ba
-Patch0:		%{name}-gcc16-const.patch
+# Source0-md5:	e03fea5246b7dd07b5d9c43396e9b65d
 URL:		https://github.com/wolfcw/libfaketime
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -16,7 +15,6 @@ to change the system-wide time.
 
 %prep
 %setup -q
-%patch -P0 -p1
 
 %build
 %{__make} \
diff --git a/libfaketime-gcc16-const.patch b/libfaketime-gcc16-const.patch
deleted file mode 100644
index 8ba84f3..0000000
--- a/libfaketime-gcc16-const.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- libfaketime-0.9.12/src/libfaketime.c.orig
-+++ libfaketime-0.9.12/src/libfaketime.c
-@@ -2485,7 +2485,7 @@
- static void parse_ft_string(const char *user_faked_time)
- {
-   struct tm user_faked_time_tm;
--  char * tmp_time_fmt;
-+  const char *tmp_time_fmt;
-   char * nstime_str;
- 
-   if (!strncmp(user_faked_time, user_faked_time_saved, BUFFERLEN))
-@@ -3156,7 +3156,7 @@
- bool str_array_contains(const char *haystack, const char *needle)
- {
-   size_t needle_len = strlen(needle);
--  char *pos = strstr(haystack, needle);
-+  const char *pos = strstr(haystack, needle);
-   while (pos) {
-     if (pos == haystack || *(pos - 1) == ',') {
-       char nextc = *(pos + needle_len);
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libfaketime.git/commitdiff/a33f84786fb0756a68777a9aff605a3665bd37da



More information about the pld-cvs-commit mailing list