pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/postgresql82 Fix configure detection of libi...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6c4acf95e110
branches: trunk
changeset: 523736:6c4acf95e110
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri Jan 12 22:13:44 2007 +0000
description:
Fix configure detection of libintl -- include libintl.h as the symbols
are renamed for gettext and the symbols from libc are found otherwise.
Reported and tested by Gilles Dauphin.
diffstat:
databases/postgresql82/distinfo | 3 +-
databases/postgresql82/patches/patch-ao | 44 +++++++++++++++++++++++++++++++++
2 files changed, 46 insertions(+), 1 deletions(-)
diffs (62 lines):
diff -r 48599cd8eb33 -r 6c4acf95e110 databases/postgresql82/distinfo
--- a/databases/postgresql82/distinfo Fri Jan 12 21:35:52 2007 +0000
+++ b/databases/postgresql82/distinfo Fri Jan 12 22:13:44 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2007/01/08 18:16:09 adam Exp $
+$NetBSD: distinfo,v 1.3 2007/01/12 22:13:44 joerg Exp $
SHA1 (postgresql-8.2.1.tar.bz2) = d73b964ca068c36c9d88766d551f25e0feb8de13
RMD160 (postgresql-8.2.1.tar.bz2) = 04013d021fdb446d6b45ec2e67f1c9ba4e8eaabb
@@ -17,3 +17,4 @@
SHA1 (patch-al) = 32818ae8de92ef66d839d4891f4f686db732f7b6
SHA1 (patch-am) = 507252fc50ce59e1d6f596367f12338a8892bfd2
SHA1 (patch-an) = ca4caddde9ea68e4f8648f5abf9369e407874702
+SHA1 (patch-ao) = 0a9194847d19abfddcfd0b007defcbe5b33a40aa
diff -r 48599cd8eb33 -r 6c4acf95e110 databases/postgresql82/patches/patch-ao
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/postgresql82/patches/patch-ao Fri Jan 12 22:13:44 2007 +0000
@@ -0,0 +1,44 @@
+$NetBSD: patch-ao,v 1.1 2007/01/12 22:13:44 joerg Exp $
+
+--- configure.orig 2007-01-10 15:08:14.000000000 +0000
++++ configure
+@@ -21851,16 +21851,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;
+ }
+@@ -21906,16 +21902,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;
+ }
Home |
Main Index |
Thread Index |
Old Index