[packages/arc] - rel 4, fix incorrect assumptions about time_t size
baggins
baggins at pld-linux.org
Sun Feb 22 14:48:30 CET 2026
commit 13f45ebde9658cd9d39bd962787791ec8cd648b0
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Feb 22 15:48:15 2026 +0100
- rel 4, fix incorrect assumptions about time_t size
arc.spec | 4 +++-
time_t.patch | 17 +++++++++++++++++
2 files changed, 20 insertions(+), 1 deletion(-)
---
diff --git a/arc.spec b/arc.spec
index 2c07e7a..2eb2b32 100644
--- a/arc.spec
+++ b/arc.spec
@@ -2,7 +2,7 @@ Summary: Arc archiver
Summary(pl.UTF-8): Archiwizer arc
Name: arc
Version: 5.21p
-Release: 3
+Release: 4
License: GPL v2
Group: Applications/Archiving
Source0: http://downloads.sourceforge.net/arc/%{name}-%{version}.tar.gz
@@ -19,6 +19,7 @@ Patch8: fcommon-fix.patch
Patch9: fix-function-prototypes.patch
Patch10: aliasing-fix.patch
Patch11: glibc-2.43.patch
+Patch12: time_t.patch
URL: http://arc.sourceforge.net/
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -45,6 +46,7 @@ stare archiwa .arc.
%patch -P9 -p1
%patch -P10 -p1
%patch -P11 -p1
+%patch -P12 -p1
%build
%{__make} \
diff --git a/time_t.patch b/time_t.patch
new file mode 100644
index 0000000..6c93e38
--- /dev/null
+++ b/time_t.patch
@@ -0,0 +1,17 @@
+--- arc-5.21p/tmclock.c~ 2010-08-07 15:06:42.000000000 +0200
++++ arc-5.21p/tmclock.c 2026-02-22 15:46:24.186668968 +0100
+@@ -82,12 +82,12 @@
+ }
+
+
+-long
++time_t
+ tmclock( tm )
+ struct tm *tm;
+ {
+ register long jd, sdc;
+- long result;
++ time_t result;
+
+ if ( ( jd = tmjuliandate( tm ) ) == -1L )
+ return ( -1L );
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/arc.git/commitdiff/13f45ebde9658cd9d39bd962787791ec8cd648b0
More information about the pld-cvs-commit
mailing list