summaryrefslogtreecommitdiff
path: root/databases/gq/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'databases/gq/patches/patch-ab')
-rw-r--r--databases/gq/patches/patch-ab33
1 files changed, 12 insertions, 21 deletions
diff --git a/databases/gq/patches/patch-ab b/databases/gq/patches/patch-ab
index fbbcb89292e..e077deabe1a 100644
--- a/databases/gq/patches/patch-ab
+++ b/databases/gq/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.2 2004/01/21 16:26:37 cube Exp $
+$NetBSD: patch-ab,v 1.3 2008/01/10 21:42:51 adam Exp $
---- configure.orig 2003-11-04 00:04:50.000000000 +0100
+--- configure.orig 2008-01-08 17:41:30.000000000 +0100
+++ configure
-@@ -5330,7 +5330,7 @@ fi
+@@ -6240,7 +6240,7 @@ fi
for ac_func in ldap_str2objectclass ldap_memfree ldap_rename ldap_str2dn \
ldap_initialize \
iswspace snprintf \
@@ -10,22 +10,13 @@ $NetBSD: patch-ab,v 1.2 2004/01/21 16:26:37 cube Exp $
+ g_snprintf btowc
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
- echo "$as_me:$LINENO: checking for $ac_func" >&5
-@@ -6702,7 +6702,7 @@ _ACEOF
- fi;
+ { echo "$as_me:$LINENO: checking for $ac_func" >&5
+@@ -7629,7 +7629,7 @@ echo "${ECHO_T}no" >&6; }
- if test "x$GCC" = "xyes"; then
-- for A in -Wall -W -Wno-unused -Wmissing-declarations -Wcast-align -Wpointer-arith -Wfloat-equal
-+ for A in -Wall -W -Wno-unused -Wmissing-declarations -Wcast-align -Wpointer-arith
- do
- # The following should work as well, but might (?) be less portable
- # if ! echo "$CFLAGS" | grep -q -w -- "$A" ; then
-@@ -10451,7 +10451,7 @@ echo "${ECHO_T}`eval echo '${'gq_cv_${PR
-
- if test "$gq_cv_snprintf_reordering" = no ; then
-
-- if test "gq_cv_g_snprintf_reordering" == "yes" ; then
-+ if test "gq_cv_g_snprintf_reordering" = "yes" ; then
- gq_cv_snprintf_reordering=yes
-
- cat >>confdefs.h <<\_ACEOF
+ # a backup of the working CFLAGS
+ WARN_CFLAGS=""
+-for A in -Wall -W -Wno-unused -Wmissing-declarations -Wcast-align -Wpointer-arith -Wfloat-equal
++for A in -Wall -W -Wno-unused -Wmissing-declarations -Wcast-align -Wpointer-arith
+ do
+ if test -z "`echo "$CFLAGS" | grep -w -- "$A" 2> /dev/null`" ; then
+ gq_cv_compiler_supports_flag "$A"