summaryrefslogtreecommitdiff
path: root/archivers/gcpio/patches/patch-ag
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2005-11-03 19:38:50 +0000
committeradrianp <adrianp@pkgsrc.org>2005-11-03 19:38:50 +0000
commit908b9f1ded664a582ec145d234dde1d165225815 (patch)
tree1818c688160b9e0c0b8defbd0fb79e8049ba6aea /archivers/gcpio/patches/patch-ag
parentcc5b7b4796a1e97b1a95a8297f40d170d12ba2c0 (diff)
downloadpkgsrc-908b9f1ded664a582ec145d234dde1d165225815.tar.gz
Fixes for CAN-2005-1111 and CAN-2005-1229
Diffstat (limited to 'archivers/gcpio/patches/patch-ag')
-rw-r--r--archivers/gcpio/patches/patch-ag16
1 files changed, 8 insertions, 8 deletions
diff --git a/archivers/gcpio/patches/patch-ag b/archivers/gcpio/patches/patch-ag
index af136f7cd24..6d3360946f7 100644
--- a/archivers/gcpio/patches/patch-ag
+++ b/archivers/gcpio/patches/patch-ag
@@ -1,14 +1,14 @@
-$NetBSD: patch-ag,v 1.1 2005/01/18 16:04:39 tv Exp $
+$NetBSD: patch-ag,v 1.2 2005/11/03 19:38:50 adrianp Exp $
---- system.h.orig 2005-01-18 11:03:19.000000000 -0500
-+++ system.h
-@@ -59,6 +59,9 @@ off_t lseek ();
- /* Since major is a function on SVR4, we can't use `ifndef major'. */
- #ifdef MAJOR_IN_MKDEV
- #include <sys/mkdev.h>
+--- lib/system.h.orig 2005-11-03 18:51:50.000000000 +0000
++++ lib/system.h
+@@ -282,6 +282,9 @@ extern int errno;
+
+ #if MAJOR_IN_MKDEV
+ # include <sys/mkdev.h>
+# if !defined(makedev) && defined(mkdev)
+# define makedev(a,b) mkdev((a),(b))
+# endif
- #define HAVE_MAJOR
+ # define GOT_MAJOR
#endif