summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorsalo <salo>2004-07-10 15:35:52 +0000
committersalo <salo>2004-07-10 15:35:52 +0000
commita43c25b5641a3c4a07b5d4201ea95d5759b06416 (patch)
treeee18c78107b3c57ef9771c83108226e21696c8a3 /archivers
parentaee48a8f860047cd153a8ebe9096dbc611ad8866 (diff)
downloadpkgsrc-a43c25b5641a3c4a07b5d4201ea95d5759b06416.tar.gz
Fix the Solaris check. SunPro doesn't define neither sun, nor __svr4__.
Fixes compilation on Solaris with SunPro compiler.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/afio/distinfo3
-rw-r--r--archivers/afio/patches/patch-ab13
2 files changed, 15 insertions, 1 deletions
diff --git a/archivers/afio/distinfo b/archivers/afio/distinfo
index 5449945362b..4e857369476 100644
--- a/archivers/afio/distinfo
+++ b/archivers/afio/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2004/04/11 23:04:50 minskim Exp $
+$NetBSD: distinfo,v 1.3 2004/07/10 15:35:52 salo Exp $
SHA1 (afio-2.5.tgz) = 051765f209fded60f94944da8a76ae37c3423a23
Size (afio-2.5.tgz) = 179184 bytes
SHA1 (patch-aa) = e35b47c2f10a6f80d8446e4c22a7a023dae55933
+SHA1 (patch-ab) = 234d24918c5d152b6c013e82d5e43a4471cc65de
diff --git a/archivers/afio/patches/patch-ab b/archivers/afio/patches/patch-ab
new file mode 100644
index 00000000000..6c889ef37ac
--- /dev/null
+++ b/archivers/afio/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2004/07/10 15:35:52 salo Exp $
+
+--- compfile.c.orig Tue Jun 24 23:32:20 2003
++++ compfile.c Sat Jul 10 17:26:02 2004
+@@ -210,7 +210,7 @@
+ * version;
+ */
+
+-#if ( defined(sun) && defined(__svr4__) )
++#if ( defined(__sun) && defined(__SVR4) )
+ #include <dirent.h>
+ #else
+ #include <sys/dir.h>