Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-db/postgresql-base/files: postgresql-base-8.4-9.0-heimdal_strlcpy.patch
Date: Wed, 02 Jun 2010 17:21:34
Message-Id: 20100602172128.ECED72C3ED@corvid.gentoo.org
1 patrick 10/06/02 17:21:28
2
3 Added: postgresql-base-8.4-9.0-heimdal_strlcpy.patch
4 Log:
5 Fixes for #313765, #251046, #294462, #300793, #274836, #296714, #238817, #278228, #263096, #246397, #285953. Thanks to Aaron Swenson for collecting the fixes and testing.
6 (Portage version: 2.2_rc67/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 dev-db/postgresql-base/files/postgresql-base-8.4-9.0-heimdal_strlcpy.patch
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql-base/files/postgresql-base-8.4-9.0-heimdal_strlcpy.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql-base/files/postgresql-base-8.4-9.0-heimdal_strlcpy.patch?rev=1.1&content-type=text/plain
13
14 Index: postgresql-base-8.4-9.0-heimdal_strlcpy.patch
15 ===================================================================
16 diff -Naur tmp-old/configure tmp-new/configure
17 --- configure 2009-12-24 08:50:48.000000000 +0000
18 +++ configure 2009-12-24 09:12:00.000000000 +0000
19 @@ -10258,10 +10258,10 @@
20
21 fi
22
23 -# Some versions of libedit contain strlcpy(); so disregard that library while
24 +# Some versions of libedit and libroken contain strlcpy(); so disregard that library while
25 # checking for these standard libc functions.
26 pgac_save_LIBS="$LIBS"
27 -LIBS=`echo "$LIBS" | sed -e 's/-ledit//g' -e 's/-lreadline//g'`
28 +LIBS=`echo "$LIBS" | sed -e 's/-ledit//g' -e 's/-lreadline//g' -e 's/-lgssapi//g' -e 's/-lkrb5//g'`
29
30 for ac_func in crypt getopt getrusage inet_aton random rint srandom strdup strerror strlcat strlcpy strtol strtoul
31 do :
32 diff -Naur tmp-old/configure.in tmp-new/configure.in
33 --- configure.in 2009-12-24 09:12:39.000000000 +0000
34 +++ configure.in 2009-12-24 09:21:38.000000000 +0000
35 @@ -1240,10 +1240,10 @@
36 AC_CHECK_FUNCS([fpclass fp_class fp_class_d class], [break])
37 fi
38
39 -# Some versions of libedit contain strlcpy(); so disregard that library while
40 +# Some versions of libedit and libroken contain strlcpy(); so disregard that library while
41 # checking for these standard libc functions.
42 pgac_save_LIBS="$LIBS"
43 -LIBS=`echo "$LIBS" | sed -e 's/-ledit//g' -e 's/-lreadline//g'`
44 +LIBS=`echo "$LIBS" | sed -e 's/-ledit//g' -e 's/-lreadline//g' -e 's/-lgssapi//g' -e 's/-lkrb5//g'`
45
46 AC_REPLACE_FUNCS([crypt getopt getrusage inet_aton random rint srandom strdup strerror strlcat strlcpy strtol strtoul])