diff options
author | joerg <joerg> | 2007-01-12 22:49:24 +0000 |
---|---|---|
committer | joerg <joerg> | 2007-01-12 22:49:24 +0000 |
commit | 36c0e2842bf45844031f29b11520a20841a11189 (patch) | |
tree | bb6783e96a17dc1e8da3a3d76d357e0abf2df5c2 /databases/postgresql81 | |
parent | d9b6bf1783b77685e697b6454e4f293c5dde66b0 (diff) | |
download | pkgsrc-36c0e2842bf45844031f29b11520a20841a11189.tar.gz |
Fix gettext detection similiar to PostgreSQL 8.2.
Diffstat (limited to 'databases/postgresql81')
-rw-r--r-- | databases/postgresql81/distinfo | 4 | ||||
-rw-r--r-- | databases/postgresql81/patches/patch-ab | 48 |
2 files changed, 47 insertions, 5 deletions
diff --git a/databases/postgresql81/distinfo b/databases/postgresql81/distinfo index d6d26e8c783..5b36520c43a 100644 --- a/databases/postgresql81/distinfo +++ b/databases/postgresql81/distinfo @@ -1,10 +1,10 @@ -$NetBSD: distinfo,v 1.5 2007/01/08 18:55:38 adam Exp $ +$NetBSD: distinfo,v 1.6 2007/01/12 22:49:24 joerg Exp $ SHA1 (postgresql-8.1.6.tar.bz2) = d2a849e5e5d93a102dacaa1e420b1148d564837b RMD160 (postgresql-8.1.6.tar.bz2) = d61ca7541ff4806bf9216ce156377588589b12dd Size (postgresql-8.1.6.tar.bz2) = 11646873 bytes SHA1 (patch-aa) = a7112ce2e9fc28f638afcf2e196d3cdc0f4c254d -SHA1 (patch-ab) = 8d09f4e274aeb4ac2b15db73e7801376a5627d27 +SHA1 (patch-ab) = 5bf5f46e86025772cbdb9c9d22c942b40288f82f SHA1 (patch-ac) = cbd302a60d43171854c37171b57ee7bbf1194ad9 SHA1 (patch-ad) = 51243fecc142d20e5353b8043e24f38007aa38d9 SHA1 (patch-ae) = 8b3e47320dfe05d94b769c9b079fd7ca6d26f5d6 diff --git a/databases/postgresql81/patches/patch-ab b/databases/postgresql81/patches/patch-ab index d94d20c65c1..373b2041d9f 100644 --- a/databases/postgresql81/patches/patch-ab +++ b/databases/postgresql81/patches/patch-ab @@ -1,6 +1,6 @@ -$NetBSD: patch-ab,v 1.1.1.1 2006/03/20 14:45:49 uebayasi Exp $ +$NetBSD: patch-ab,v 1.2 2007/01/12 22:49:24 joerg Exp $ ---- configure.orig 2005-11-05 13:01:38.000000000 +0900 +--- configure.orig 2007-01-06 05:29:02.000000000 +0000 +++ configure @@ -1501,6 +1501,7 @@ case $host_os in darwin*) template=darwin ;; @@ -10,7 +10,7 @@ $NetBSD: patch-ab,v 1.1.1.1 2006/03/20 14:45:49 uebayasi Exp $ hpux*) template=hpux ;; irix*) template=irix ;; linux*|gnu*|k*bsd*-gnu) -@@ -4587,9 +4588,7 @@ echo "${ECHO_T}$perl_useshrplib" >&6 +@@ -4753,9 +4754,7 @@ echo "${ECHO_T}$perl_useshrplib" >&6 echo "$as_me:$LINENO: checking for flags to link embedded Perl" >&5 echo $ECHO_N "checking for flags to link embedded Perl... $ECHO_C" >&6 @@ -21,3 +21,45 @@ $NetBSD: patch-ab,v 1.1.1.1 2006/03/20 14:45:49 uebayasi Exp $ echo "$as_me:$LINENO: result: $perl_embed_ldflags" >&5 echo "${ECHO_T}$perl_embed_ldflags" >&6 fi +@@ -21604,17 +21603,12 @@ cat confdefs.h >>conftest.$ac_ext + 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; + } +@@ -21659,17 +21653,12 @@ cat confdefs.h >>conftest.$ac_ext + 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; + } |