pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/dar Added a patch for Solaris to the configu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1abc7f432cf6
branches:  trunk
changeset: 518070:1abc7f432cf6
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Aug 30 15:58:25 2006 +0000

description:
Added a patch for Solaris to the configure script.

diffstat:

 archivers/dar/distinfo         |   3 ++-
 archivers/dar/patches/patch-ac |  20 ++++++++++++++++++++
 2 files changed, 22 insertions(+), 1 deletions(-)

diffs (37 lines):

diff -r 047e9624d809 -r 1abc7f432cf6 archivers/dar/distinfo
--- a/archivers/dar/distinfo    Wed Aug 30 15:51:15 2006 +0000
+++ b/archivers/dar/distinfo    Wed Aug 30 15:58:25 2006 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.12 2006/05/26 10:10:08 adam Exp $
+$NetBSD: distinfo,v 1.13 2006/08/30 15:58:25 rillig Exp $
 
 SHA1 (dar-2.3.0.tar.gz) = e2e6318ad222fe5b7d47ec5d5c3828c83f2004fb
 RMD160 (dar-2.3.0.tar.gz) = 5f00a95e7eaed35cbbe6c5440970bcb4fc2b8181
 Size (dar-2.3.0.tar.gz) = 1142646 bytes
 SHA1 (patch-aa) = 6f07f2bf85194cdad58d99c7cafd85e3b2c06031
 SHA1 (patch-ab) = 1d8fb3bcd9c0d6a07cb6413d0b94453264f3d499
+SHA1 (patch-ac) = 34ba67a1ae794c1069824347b67a204455d18f2e
diff -r 047e9624d809 -r 1abc7f432cf6 archivers/dar/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/dar/patches/patch-ac    Wed Aug 30 15:58:25 2006 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-ac,v 1.7 2006/08/30 15:58:25 rillig Exp $
+
+Solaris has <getopt.h>, but the plain getopt() function is defined in
+<unistd.h>, so it needs both headers.
+
+--- configure.orig     2006-02-25 00:08:32.000000000 +0100
++++ configure  2006-08-30 17:51:23.544802744 +0200
+@@ -29861,11 +29861,10 @@ cat >>conftest.$ac_ext <<_ACEOF
+ extern "C" {
+                                    #if HAVE_GETOPT_H
+                                    #include <getopt.h>
+-                                   #else
++                                   #endif
+                                    #if HAVE_UNISTD_H
+                                    #include <unistd.h>
+                                    #endif
+-                                   #endif
+                                    }
+ int
+ main ()



Home | Main Index | Thread Index | Old Index