diff options
author | tnn <tnn@pkgsrc.org> | 2008-05-09 10:14:28 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2008-05-09 10:14:28 +0000 |
commit | 1f15175194d53d0fa8173dd9599250225e9a2dd1 (patch) | |
tree | 08b981a360621c921a899e04aa7e50c065606e2a /databases | |
parent | 33d1f8de744d79ed9f8662a0f3fdbb4549e7ba00 (diff) | |
download | pkgsrc-1f15175194d53d0fa8173dd9599250225e9a2dd1.tar.gz |
PR pkg/38616: Hasso Tepper: Fix build on DragonFlyBSD.
The configure script checks for sizeof(FILE), which is an opaque type.
It can be argued that it should check for FILE* instead because that's
what it uses, but take the shortest path of resistance and disable
the check on DragonFly. Upstream is aware of the issue.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/db4/distinfo | 4 | ||||
-rw-r--r-- | databases/db4/patches/patch-ab | 21 |
2 files changed, 18 insertions, 7 deletions
diff --git a/databases/db4/distinfo b/databases/db4/distinfo index 56b11b6009c..7e0e2de6af5 100644 --- a/databases/db4/distinfo +++ b/databases/db4/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.28 2008/01/10 21:55:52 adam Exp $ +$NetBSD: distinfo,v 1.29 2008/05/09 10:14:28 tnn Exp $ SHA1 (db-4.6.21.tar.gz) = 5be3beb82e42a78ff671a3f5a4c30e5652972119 RMD160 (db-4.6.21.tar.gz) = ccf9a4b85cc0464b2f3c2f2da29d99328fd4978e Size (db-4.6.21.tar.gz) = 11881885 bytes SHA1 (patch-aa) = 003eae2562496764c2ba15aee14a5894cca23ca4 -SHA1 (patch-ab) = 32af80b165582baa259a487950e6a165f0d8f86b +SHA1 (patch-ab) = 929b88a7aed640721542e7079675d18eff5b62f5 SHA1 (patch-ac) = 72930ded2e676e810242df60f94703f37a8be853 diff --git a/databases/db4/patches/patch-ab b/databases/db4/patches/patch-ab index c2f1cf7d83b..7fd5074de1c 100644 --- a/databases/db4/patches/patch-ab +++ b/databases/db4/patches/patch-ab @@ -1,7 +1,5 @@ -$NetBSD: patch-ab,v 1.17 2008/01/10 21:55:53 adam Exp $ - ---- dist/configure.orig 2007-09-27 17:32:04.000000000 +0200 -+++ dist/configure +--- dist/configure.orig 2007-09-27 18:32:04 +0300 ++++ dist/configure 2008-05-09 01:20:00 +0300 @@ -5938,6 +5938,7 @@ db_cv_gxx_except=no; if test "$GXX" = "yes"; then GXX_VERSION=`${MAKEFILE_CXX} --version` @@ -45,7 +43,20 @@ $NetBSD: patch-ab,v 1.17 2008/01/10 21:55:53 adam Exp $ hp*) _JNI_INC_SUBDIRS="hp-ux";; linux*) _JNI_INC_SUBDIRS="linux genunix";; osf*) _JNI_INC_SUBDIRS="alpha";; -@@ -29859,7 +29859,7 @@ rm -f core conftest.err conftest.$ac_obj +@@ -28547,10 +28547,12 @@ typedef FILE ac__type_new_; + int + main () + { ++#ifndef __DragonFly__ + if ((ac__type_new_ *) 0) + return 0; + if (sizeof (ac__type_new_)) + return 0; ++#endif + ; + return 0; + } +@@ -29859,7 +29861,7 @@ rm -f core conftest.err conftest.$ac_obj # If the user specified we use POSIX pthreads mutexes, and we fail to # find the full interface, try and configure for just intra-process # support. |