summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorsbd <sbd@pkgsrc.org>2012-03-09 06:14:39 +0000
committersbd <sbd@pkgsrc.org>2012-03-09 06:14:39 +0000
commitf0377381879f800e7d97a9126506d2be2887e86b (patch)
tree6ffe4f737458d88192b384b15a23ae36cc13e2f7 /archivers
parentfe9c06ae134dbe4443bee9ff9fcae92c57c6f7be (diff)
downloadpkgsrc-f0377381879f800e7d97a9126506d2be2887e86b.tar.gz
Fix build on Liunx
Diffstat (limited to 'archivers')
-rw-r--r--archivers/mousetar/distinfo4
-rw-r--r--archivers/mousetar/patches/patch-aa13
2 files changed, 10 insertions, 7 deletions
diff --git a/archivers/mousetar/distinfo b/archivers/mousetar/distinfo
index 774c8b818a0..399d4c842b8 100644
--- a/archivers/mousetar/distinfo
+++ b/archivers/mousetar/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2012/02/29 18:14:31 hans Exp $
+$NetBSD: distinfo,v 1.6 2012/03/09 06:14:39 sbd Exp $
SHA1 (tar.c) = 0fcce941a7e5beee2646b3b7d7dee5d6cf22f455
RMD160 (tar.c) = 78561e1ef3a55f1b77c8949a7b7a6efb4904d7ef
@@ -6,4 +6,4 @@ Size (tar.c) = 286925 bytes
SHA1 (tar.man) = a43498f78f3122edf1970a471c9bd313c0ace2f1
RMD160 (tar.man) = 3a295603a2381ea8417b4ce77b73b50ca42fd5e6
Size (tar.man) = 49336 bytes
-SHA1 (patch-aa) = ec66de535056119c1f5a65266436486b59a3422c
+SHA1 (patch-aa) = 8d1b0d31f1eabb3bc6528579cca8df50d4f6066d
diff --git a/archivers/mousetar/patches/patch-aa b/archivers/mousetar/patches/patch-aa
index 5c7390dca92..4ca912f9ce9 100644
--- a/archivers/mousetar/patches/patch-aa
+++ b/archivers/mousetar/patches/patch-aa
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.3 2012/02/29 18:14:31 hans Exp $
+$NetBSD: patch-aa,v 1.4 2012/03/09 06:14:39 sbd Exp $
---- tar.c.orig 2004-08-06 16:27:58.000000000 -0500
+--- tar.c.orig 2012-03-09 06:07:25.071601044 +0000
+++ tar.c
@@ -235,6 +235,9 @@ standards: gwoods sez IEEE Std 1003.1-19
@@ -12,12 +12,15 @@ $NetBSD: patch-aa,v 1.3 2012/02/29 18:14:31 hans Exp $
#include <errno.h>
#include <ctype.h>
#include <setjmp.h>
-@@ -247,8 +250,13 @@ standards: gwoods sez IEEE Std 1003.1-19
+@@ -247,8 +250,17 @@ standards: gwoods sez IEEE Std 1003.1-19
#include <sys/file.h>
#include <sys/stat.h>
#include <sys/time.h>
--#include <sys/dir.h>
++#if defined(__linux__)
+ #include <sys/dir.h>
++#else
+#include <sys/dirent.h>
++#endif
+#include <dirent.h>
#include <unistd.h>
+#include <fcntl.h>
@@ -27,7 +30,7 @@ $NetBSD: patch-aa,v 1.3 2012/02/29 18:14:31 hans Exp $
/* If none of the TAR_MAP_* symbols are defined, guess */
#if !defined(TAR_MAP_SUN) && \
-@@ -471,8 +479,8 @@ extern char *valloc();
+@@ -471,8 +483,8 @@ extern char *valloc();
/* NetBSD: fix up itoo/itod and the fs_q?mask fields, and BIG* */
#ifdef TAR_INODE_NETBSD
#include <sys/param.h>