pkgsrc/databases/db4/patches/patch-ab
martti fd15a8d857 Updated db4 to 4.3.27
* bug fixes
2005-01-05 08:06:42 +00:00

18 lines
881 B
Text

$NetBSD: patch-ab,v 1.9 2005/01/05 08:06:42 martti Exp $
--- dist/configure.orig 2004-12-23 04:59:13.000000000 +0200
+++ dist/configure 2005-01-05 09:40:13.000000000 +0200
@@ -5419,2 +5419,3 @@
case ${GXX_VERSION} in
+ egcs*) CXXFLAGS="-fexceptions $CXXFLAGS";;
1.*|2.[01234567].*|*-1.*|*-2.[01234567].*)
@@ -20868,3 +20869,3 @@
MAKEFILE_CC="\$(LIBTOOL) --mode=compile ${MAKEFILE_CC}"
-MAKEFILE_SOLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CCLINK} -avoid-version"
+MAKEFILE_SOLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CCLINK}"
MAKEFILE_CCLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CCLINK}"
@@ -30027,3 +30028,3 @@
# full interface, try and configure for just intra-process support.
-if test "$db_cv_mutex" = no -o "$db_cv_mutex" = "posix_only"; then
+if test "$ac_cv_lib_pthread_main" = yes -a "$db_cv_mutex" = no -o "$db_cv_mutex" = "posix_only"; then
LIBS="$LIBS -lpthread"