pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/archivers/arc
Module Name: pkgsrc
Committed By: wiz
Date: Mon Apr 21 16:13:18 UTC 2025
Modified Files:
pkgsrc/archivers/arc: distinfo
pkgsrc/archivers/arc/patches: patch-ab
Log Message:
arc: remove Interix support
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/archivers/arc/distinfo
cvs rdiff -u -r1.5 -r1.6 pkgsrc/archivers/arc/patches/patch-ab
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/archivers/arc/distinfo
diff -u pkgsrc/archivers/arc/distinfo:1.15 pkgsrc/archivers/arc/distinfo:1.16
--- pkgsrc/archivers/arc/distinfo:1.15 Sat Nov 6 09:49:20 2021
+++ pkgsrc/archivers/arc/distinfo Mon Apr 21 16:13:17 2025
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.15 2021/11/06 09:49:20 nia Exp $
+$NetBSD: distinfo,v 1.16 2025/04/21 16:13:17 wiz Exp $
BLAKE2s (arc-5.21p.tar.gz) = fe9c447c2c1ac5fcc9e03ed5311cf2e2ae37fad1813a9890ecc02ba2e1109b16
SHA512 (arc-5.21p.tar.gz) = c70c01ec407cc27f6507e2715d8b553277609cb49369a1e65a83d007362a24b69bb09ef2bf168ee36ca6797bd4524644a89e9114d866351ae53fece193c2967c
Size (arc-5.21p.tar.gz) = 84791 bytes
SHA1 (patch-aa) = 10a314ddbe3c44d8f74a591740973892e3906713
-SHA1 (patch-ab) = e85c2698747106a7319db07185bfe0b6e2480974
+SHA1 (patch-ab) = 5e1f6e398ca1f12030bd5101fc49236f25866da5
SHA1 (patch-ac) = 3332d9db5c41fb205ab9f5123b0de0704ae634b3
SHA1 (patch-ad) = b8c7b8a9a0733fb8f4a8963765d3dcd318988afc
Index: pkgsrc/archivers/arc/patches/patch-ab
diff -u pkgsrc/archivers/arc/patches/patch-ab:1.5 pkgsrc/archivers/arc/patches/patch-ab:1.6
--- pkgsrc/archivers/arc/patches/patch-ab:1.5 Tue May 2 19:06:45 2006
+++ pkgsrc/archivers/arc/patches/patch-ab Mon Apr 21 16:13:17 2025
@@ -1,6 +1,6 @@
-$NetBSD: patch-ab,v 1.5 2006/05/02 19:06:45 wiz Exp $
+$NetBSD: patch-ab,v 1.6 2025/04/21 16:13:17 wiz Exp $
---- arcdos.c.orig 2003-10-31 03:32:19.000000000 +0100
+--- arcdos.c.orig 2010-08-07 13:06:42.000000000 +0000
+++ arcdos.c
@@ -31,7 +31,11 @@
#include <sys/types.h>
@@ -14,27 +14,9 @@ $NetBSD: patch-ab,v 1.5 2006/05/02 19:06
#else
#include <time.h> /* Sys V. Bleah. */
#if NEED_TIMEVAL
-@@ -52,6 +56,11 @@ struct timeval {
- char *malloc();
- #endif
-
-+#if defined(__INTERIX)
-+#define NO_UTIMES
-+#include <utime.h>
-+#endif
-+
- VOID
- getstamp(f, date, time) /* get a file's date/time stamp */
- #if !_MTS
-@@ -173,20 +182,29 @@ setstamp(f, date, time) /* set a file's
- #endif
- #if UNIX
+@@ -175,14 +179,14 @@ setstamp(f, date, time) /* set a file's
struct tm tm;
-+#ifdef NO_UTIMES
-+ struct utimbuf utb;
-+#else
struct timeval tvp[2];
-+#endif
int utimes();
- long tmclock();
tm.tm_sec = (time & 31) * 2;
@@ -45,16 +27,7 @@ $NetBSD: patch-ab,v 1.5 2006/05/02 19:06
tm.tm_year = (date >> 9) + 80;
- tvp[0].tv_sec = tmclock(&tm);
+ tm.tm_isdst = -1;
-+#ifdef NO_UTIMES
-+ utb.actime = utb.modtime = mktime(&tm);
-+ utime(f, &utb);
-+#else
+ tvp[0].tv_sec = mktime(&tm);
tvp[1].tv_sec = tvp[0].tv_sec;
tvp[0].tv_usec = tvp[1].tv_usec = 0;
utimes(f, tvp);
- #endif
-+#endif
- }
-
- #if MSDOS
Home |
Main Index |
Thread Index |
Old Index