pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/gcpio/patches Remove obsolete patches



details:   https://anonhg.NetBSD.org/pkgsrc/rev/92b9685f52fd
branches:  trunk
changeset: 502272:92b9685f52fd
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Thu Nov 03 19:40:12 2005 +0000

description:
Remove obsolete patches

diffstat:

 archivers/gcpio/patches/patch-ad |  12 ----------
 archivers/gcpio/patches/patch-af |  45 ----------------------------------------
 2 files changed, 0 insertions(+), 57 deletions(-)

diffs (65 lines):

diff -r f14ad8e85f8f -r 92b9685f52fd archivers/gcpio/patches/patch-ad
--- a/archivers/gcpio/patches/patch-ad  Thu Nov 03 19:38:50 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-$NetBSD: patch-ad,v 1.1 2004/06/06 21:29:33 minskim Exp $
-
---- error.c.orig       2001-12-05 22:52:45.000000000 -0600
-+++ error.c
-@@ -68,7 +68,6 @@ static char *
- private_strerror (errnum)
-      int errnum;
- {
--  extern char *sys_errlist[];
-   extern int sys_nerr;
- 
-   if (errnum > 0 && errnum <= sys_nerr)
diff -r f14ad8e85f8f -r 92b9685f52fd archivers/gcpio/patches/patch-af
--- a/archivers/gcpio/patches/patch-af  Thu Nov 03 19:38:50 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,45 +0,0 @@
-$NetBSD: patch-af,v 1.1 2004/06/06 21:29:33 minskim Exp $
-
---- tar.c.orig 2004-03-15 19:58:03.504727318 +0100
-+++ tar.c      2004-03-15 19:59:41.803936327 +0100
-@@ -27,6 +27,7 @@
- #include "tarhdr.h"
- 
- static void to_oct ();
-+static void to_oct_no_nul ();
- static char *stash_tar_linkname ();
- static char *stash_tar_filename ();
- 
-@@ -97,8 +98,8 @@
-   to_oct (file_hdr->c_mode, 8, tar_hdr->mode);
-   to_oct (file_hdr->c_uid, 8, tar_hdr->uid);
-   to_oct (file_hdr->c_gid, 8, tar_hdr->gid);
--  to_oct (file_hdr->c_filesize, 12, tar_hdr->size);
--  to_oct (file_hdr->c_mtime, 12, tar_hdr->mtime);
-+  to_oct_no_nul (file_hdr->c_filesize, 12, tar_hdr->size);
-+  to_oct_no_nul (file_hdr->c_mtime, 12, tar_hdr->mtime);
- 
-   switch (file_hdr->c_mode & CP_IFMT)
-     {
-@@ -446,6 +447,21 @@
-     where[--digits] = ' ';
- }
- 
-+/* Convert a number into a string of octal digits.
-+   Convert long VALUE into a DIGITS-digit field at WHERE,
-+   including a trailing space.  DIGITS==2 means
-+   1 digit, and a space.
-+*/
-+
-+static void
-+to_oct_no_nul (value, digits, where)
-+     register long value;
-+     register int digits;
-+     register char *where;
-+{
-+  to_oct (value, digits + 1, where);
-+}
-+
- /* Return
-    2 if BUF is a valid POSIX tar header (the checksum is correct
-    and it has the "ustar" magic string),



Home | Main Index | Thread Index | Old Index