summaryrefslogtreecommitdiff
path: root/archivers/dar
diff options
context:
space:
mode:
authorrillig <rillig>2006-08-30 15:58:25 +0000
committerrillig <rillig>2006-08-30 15:58:25 +0000
commit73b5c1f691e13ac0bed9d48b88aec76d9af50801 (patch)
treeec6d178e6610f36c92ed157a20d90cdf45fbe951 /archivers/dar
parent9755fb951d21e2e29a37a151e51153f4581d03aa (diff)
downloadpkgsrc-73b5c1f691e13ac0bed9d48b88aec76d9af50801.tar.gz
Added a patch for Solaris to the configure script.
Diffstat (limited to 'archivers/dar')
-rw-r--r--archivers/dar/distinfo3
-rw-r--r--archivers/dar/patches/patch-ac20
2 files changed, 22 insertions, 1 deletions
diff --git a/archivers/dar/distinfo b/archivers/dar/distinfo
index 42a513ede7f..e4d350178b8 100644
--- a/archivers/dar/distinfo
+++ b/archivers/dar/distinfo
@@ -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 --git a/archivers/dar/patches/patch-ac b/archivers/dar/patches/patch-ac
new file mode 100644
index 00000000000..48943d8a492
--- /dev/null
+++ b/archivers/dar/patches/patch-ac
@@ -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 ()