diff options
-rw-r--r-- | databases/postgresql82/distinfo | 3 | ||||
-rw-r--r-- | databases/postgresql82/patches/patch-ao | 44 |
2 files changed, 46 insertions, 1 deletions
diff --git a/databases/postgresql82/distinfo b/databases/postgresql82/distinfo index 39e53e92e70..137075f5745 100644 --- a/databases/postgresql82/distinfo +++ b/databases/postgresql82/distinfo @@ -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-ak) = 3009e020dc5f9397846dd3339c2bdd15269bb332 SHA1 (patch-al) = 32818ae8de92ef66d839d4891f4f686db732f7b6 SHA1 (patch-am) = 507252fc50ce59e1d6f596367f12338a8892bfd2 SHA1 (patch-an) = ca4caddde9ea68e4f8648f5abf9369e407874702 +SHA1 (patch-ao) = 0a9194847d19abfddcfd0b007defcbe5b33a40aa diff --git a/databases/postgresql82/patches/patch-ao b/databases/postgresql82/patches/patch-ao new file mode 100644 index 00000000000..e221a565d29 --- /dev/null +++ b/databases/postgresql82/patches/patch-ao @@ -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; + } |