summaryrefslogtreecommitdiff
path: root/databases/postgresql82/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql82/patches/patch-ab')
-rw-r--r--databases/postgresql82/patches/patch-ab44
1 files changed, 42 insertions, 2 deletions
diff --git a/databases/postgresql82/patches/patch-ab b/databases/postgresql82/patches/patch-ab
index 4b781eab3cc..63e3f22c29d 100644
--- a/databases/postgresql82/patches/patch-ab
+++ b/databases/postgresql82/patches/patch-ab
@@ -1,6 +1,6 @@
-$NetBSD: patch-ab,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $
+$NetBSD: patch-ab,v 1.2 2007/10/09 20:17:08 adam Exp $
---- configure.orig 2006-12-02 09:36:39.000000000 +0100
+--- configure.orig 2007-10-09 22:07:59.000000000 +0200
+++ configure
@@ -1504,6 +1504,7 @@ case $host_os in
darwin*) template=darwin ;;
@@ -21,3 +21,43 @@ $NetBSD: patch-ab,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $
echo "$as_me:$LINENO: result: $perl_embed_ldflags" >&5
echo "${ECHO_T}$perl_embed_ldflags" >&6
fi
+@@ -21910,16 +21909,12 @@ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h. */
+
+ /* Override any gcc2 internal prototype to avoid an error. */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-/* We use char because int might match the return type of a gcc2
+- builtin and then its argument prototype would still apply. */
+-char gettext ();
++#include <libintl.h>
++
+ int
+ main ()
+ {
+-gettext ();
++gettext ("");
+ ;
+ return 0;
+ }
+@@ -21965,16 +21960,12 @@ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h. */
+
+ /* Override any gcc2 internal prototype to avoid an error. */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-/* We use char because int might match the return type of a gcc2
+- builtin and then its argument prototype would still apply. */
+-char gettext ();
++#include <libintl.h>
++
+ int
+ main ()
+ {
+-gettext ();
++gettext ("");
+ ;
+ return 0;
+ }