]> git.pld-linux.org Git - packages/arc.git/commitdiff
- time.h fixes
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 21 Aug 2001 21:33:23 +0000 (21:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    arc-time.patch -> 1.1
    arc.spec -> 1.4

arc-time.patch [new file with mode: 0644]
arc.spec

diff --git a/arc-time.patch b/arc-time.patch
new file mode 100644 (file)
index 0000000..4ea267d
--- /dev/null
@@ -0,0 +1,35 @@
+diff -urN arc.org/arcdos.c arc/arcdos.c
+--- arc.org/arcdos.c   Wed Apr 15 00:58:21 1992
++++ arc/arcdos.c       Tue Aug 21 19:08:09 2001
+@@ -30,15 +30,8 @@
+ #if   UNIX
+ #include <sys/types.h>
+ #include <sys/stat.h>
+-#if   BSD
+ #include <sys/time.h>
+-#else 
+ #include <time.h>             /* Sys V. Bleah. */
+-struct        timeval {
+-      long    tv_sec;
+-      long    tv_usec;
+-};
+-#endif        /* BSD vs SYSV */
+ #endif
+ #if   GEMDOS
+diff -urN arc.org/tmclock.c arc/tmclock.c
+--- arc.org/tmclock.c  Wed Apr 15 00:58:50 1992
++++ arc/tmclock.c      Tue Aug 21 19:09:27 2001
+@@ -14,12 +14,8 @@
+ /* Julian day number of the Unix* clock's origin, 01 Jan 1970. */
+ #define JD1970 2440587L
+ #define       CENTURY 19
+-#if   BSD
+ #include <sys/time.h>
+-#else
+ #include <time.h>
+-extern long   timezone;       /* should be in <time.h>, but isn't on Sun */
+-#endif
+ long  tzone;
index f52777679b98f38167648e5ce98f43de619cb2ad..7e224ac9357b10cf8c0c98e531f0cbc3dbdd3381 100644 (file)
--- a/arc.spec
+++ b/arc.spec
@@ -8,6 +8,7 @@ Group:          Applications/Archiving
 Group(de):     Applikationen/Archivierung
 Group(pl):     Aplikacje/Archiwizacja
 Source0:       ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/%{name}521e.pl8.tar.Z
+Patch0:                %{name}-time.patch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -21,6 +22,7 @@ stare archiwa .arc.
 
 %prep
 %setup -q -c
+%patch0 -p1
 
 %build
 %{__make} OPT="%{rpmcflags}"
This page took 0.122458 seconds and 4 git commands to generate.