From a43c25b5641a3c4a07b5d4201ea95d5759b06416 Mon Sep 17 00:00:00 2001 From: salo Date: Sat, 10 Jul 2004 15:35:52 +0000 Subject: Fix the Solaris check. SunPro doesn't define neither sun, nor __svr4__. Fixes compilation on Solaris with SunPro compiler. --- archivers/afio/distinfo | 3 ++- archivers/afio/patches/patch-ab | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 archivers/afio/patches/patch-ab (limited to 'archivers') 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 + #else + #include -- cgit v1.2.3