Dont assume libc has a strlcpy() if the heimdal libraries happen to have

one and expose it.
This commit is contained in:
markd 2011-01-20 12:38:49 +00:00
parent cbfc7f4c21
commit b1d4f57fe3
2 changed files with 16 additions and 3 deletions

View file

@ -1,10 +1,10 @@
$NetBSD: distinfo,v 1.8 2010/12/19 09:53:41 adam Exp $
$NetBSD: distinfo,v 1.9 2011/01/20 12:38:49 markd Exp $
SHA1 (postgresql-8.4.6.tar.bz2) = 17cef72e99cea533caab28a463a082b523a423f7
RMD160 (postgresql-8.4.6.tar.bz2) = 62b21be252c532d62e6096a5e8280e3728c8f504
Size (postgresql-8.4.6.tar.bz2) = 14130201 bytes
SHA1 (patch-aa) = aeeeaafb38e75d8e8f6639280e997ba4c905b45f
SHA1 (patch-ab) = 3cf9c7f0f812d2e41681281538c3f707cec232c3
SHA1 (patch-ab) = a273a453e88e54467028c2a45e63bbbb304e227a
SHA1 (patch-ac) = 0b82797d0b80bdd1e9b5f3de4989fe3848adf6cb
SHA1 (patch-ad) = fb75df841bbcc25e840ed9c2fed59232d7189200
SHA1 (patch-af) = a73769cf05223d2ee06249c9e69c85038c2cd936

View file

@ -1,4 +1,4 @@
$NetBSD: patch-ab,v 1.1.1.1 2009/07/29 06:26:18 adam Exp $
$NetBSD: patch-ab,v 1.2 2011/01/20 12:38:49 markd Exp $
--- configure.orig 2009-06-27 02:14:46.000000000 +0200
+++ configure
@ -21,3 +21,16 @@ $NetBSD: patch-ab,v 1.1.1.1 2009/07/29 06:26:18 adam Exp $
if test -z "$perl_embed_ldflags" ; then
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
@@ -18537,10 +18536,10 @@ done
fi
-# Some versions of libedit contain strlcpy(); so disregard that library while
+# Some versions of libedit and libroken contain strlcpy(); so disregard that library while
# checking for these standard libc functions.
pgac_save_LIBS="$LIBS"
-LIBS=`echo "$LIBS" | sed -e 's/-ledit//g' -e 's/-lreadline//g'`
+LIBS=`echo "$LIBS" | sed -e 's/-ledit//g' -e 's/-lreadline//g' -e 's/-lgssapi//g' -e 's/-lkrb5//g'`