]> git.pld-linux.org Git - packages/cpio.git/commitdiff
- cpio patches.
authorkloczek <kloczek@pld-linux.org>
Thu, 11 Mar 1999 21:29:25 +0000 (21:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cpio-glibc.patch -> 1.1
    cpio-info.patch -> 1.1
    cpio-mtime.patch -> 1.1
    cpio-svr4compat.patch -> 1.1

cpio-glibc.patch [new file with mode: 0644]
cpio-info.patch [new file with mode: 0644]
cpio-mtime.patch [new file with mode: 0644]
cpio-svr4compat.patch [new file with mode: 0644]

diff --git a/cpio-glibc.patch b/cpio-glibc.patch
new file mode 100644 (file)
index 0000000..0b782f1
--- /dev/null
@@ -0,0 +1,15 @@
+--- cpio-2.4.2/rmt.c.ewt       Mon Aug 26 21:27:28 1996
++++ cpio-2.4.2/rmt.c   Mon Aug 26 21:27:49 1996
+@@ -74,8 +74,12 @@
+ char device[SSIZE];
+ char count[SSIZE], mode[SSIZE], pos[SSIZE], op[SSIZE];
++#ifdef __GNU_LIBRARY__
++#include <errno.h>
++#else
+ extern errno;
+ extern char *sys_errlist[];
++#endif
+ char resp[BUFSIZ];
+ FILE *debug;
diff --git a/cpio-info.patch b/cpio-info.patch
new file mode 100644 (file)
index 0000000..6ad9638
--- /dev/null
@@ -0,0 +1,26 @@
+diff -Nru cpio-2.4.2/cpio.texi cpio-2.4.2.new/cpio.texi
+--- cpio-2.4.2/cpio.texi       Wed Dec 20 17:29:34 1995
++++ cpio-2.4.2.new/cpio.texi   Wed Dec 30 02:59:32 1998
+@@ -9,9 +9,10 @@
+ @ifinfo
+ @format
+-START-INFO-DIR-ENTRY
+-* cpio: (cpio).                 Making tape (or disk) archives.
+-END-INFO-DIR-ENTRY
++@dircategory File utilities:
++@direntry
++* cpio: (cpio)                                Making tape (or disk) archives.
++@end direntry
+ @end format
+ @end ifinfo
+@@ -77,7 +78,7 @@
+ @ifinfo
+ @node Top, Introduction, (dir), (dir)
+ @comment  node-name,  next,  previous,  up
+-@top
++@top cpio
+ GNU cpio is a tool for creating and extracting archives, or copying
+ files from one place to another.  It handles a number of cpio formats as
diff --git a/cpio-mtime.patch b/cpio-mtime.patch
new file mode 100644 (file)
index 0000000..5cd31ac
--- /dev/null
@@ -0,0 +1,11 @@
+--- cpio-2.4.2/copyout.c.ewt   Wed Apr 23 12:52:01 1997
++++ cpio-2.4.2/copyout.c       Wed Apr 23 12:52:19 1997
+@@ -54,7 +54,7 @@
+       else
+       magic_string = "070701";
+       sprintf (ascii_header,
+-             "%6s%08lx%08lx%08lx%08lx%08lx%08lx%08lx%08lx%08lx%08lx%08lx%08lx%08lx",
++             "%6s%08lx%08lx%08lx%08lx%08lx%08x%08lx%08lx%08lx%08lx%08lx%08lx%08lx",
+              magic_string,
+              file_hdr->c_ino, file_hdr->c_mode, file_hdr->c_uid,
+              file_hdr->c_gid, file_hdr->c_nlink, file_hdr->c_mtime,
diff --git a/cpio-svr4compat.patch b/cpio-svr4compat.patch
new file mode 100644 (file)
index 0000000..350923a
--- /dev/null
@@ -0,0 +1,11 @@
+--- cpio-2.4.2/main.c.svr4compat       Tue Jun 30 12:22:05 1998
++++ cpio-2.4.2/main.c  Tue Jun 30 12:22:34 1998
+@@ -169,6 +169,8 @@
+       case 'c':               /* Use the old portable ASCII format.  */
+         if (archive_format != arf_unknown)
+           usage (stderr, 2);
++#define       SVR4_COMPAT     1
++#define       SVR4_COMPAT     1
+ #ifdef SVR4_COMPAT
+         archive_format = arf_newascii; /* -H newc.  */
+ #else
This page took 0.097588 seconds and 4 git commands to generate.