pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/postgresql81 Fix gettext detection similiar ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9dc82c6cff1f
branches:  trunk
changeset: 523737:9dc82c6cff1f
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Jan 12 22:49:24 2007 +0000

description:
Fix gettext detection similiar to PostgreSQL 8.2.

diffstat:

 databases/postgresql81/distinfo         |   4 +-
 databases/postgresql81/patches/patch-ab |  48 ++++++++++++++++++++++++++++++--
 2 files changed, 47 insertions(+), 5 deletions(-)

diffs (83 lines):

diff -r 6c4acf95e110 -r 9dc82c6cff1f databases/postgresql81/distinfo
--- a/databases/postgresql81/distinfo   Fri Jan 12 22:13:44 2007 +0000
+++ b/databases/postgresql81/distinfo   Fri Jan 12 22:49:24 2007 +0000
@@ -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 -r 6c4acf95e110 -r 9dc82c6cff1f databases/postgresql81/patches/patch-ab
--- a/databases/postgresql81/patches/patch-ab   Fri Jan 12 22:13:44 2007 +0000
+++ b/databases/postgresql81/patches/patch-ab   Fri Jan 12 22:49:24 2007 +0000
@@ -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 @@
      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 @@
  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;
+ }



Home | Main Index | Thread Index | Old Index