pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/afio Fix the Solaris check. SunPro doesn't ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/154cb317838d
branches:  trunk
changeset: 477853:154cb317838d
user:      salo <salo%pkgsrc.org@localhost>
date:      Sat Jul 10 15:35:52 2004 +0000

description:
Fix the Solaris check.  SunPro doesn't define neither sun, nor __svr4__.
Fixes compilation on Solaris with SunPro compiler.

diffstat:

 archivers/afio/distinfo         |   3 ++-
 archivers/afio/patches/patch-ab |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r 7f181c7a09c5 -r 154cb317838d archivers/afio/distinfo
--- a/archivers/afio/distinfo   Sat Jul 10 15:14:57 2004 +0000
+++ b/archivers/afio/distinfo   Sat Jul 10 15:35:52 2004 +0000
@@ -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 -r 7f181c7a09c5 -r 154cb317838d archivers/afio/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/afio/patches/patch-ab   Sat Jul 10 15:35:52 2004 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index