From fa090373fc83cc925f6391bdeb0b059e4e2b6e7a Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Thu, 14 Jul 2005 13:04:59 +0000 Subject: 2002-02-07 Havoc Pennington Author: hp Date: 2002-02-07 19:54:49 GMT 2002-02-07 Havoc Pennington * autogen.sh: patch gslist.c so that it has a stable sort function, so we don't utterly mangle the order of the libraries on the link line. --- autogen.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'autogen.sh') diff --git a/autogen.sh b/autogen.sh index 77f794a..fd6286a 100755 --- a/autogen.sh +++ b/autogen.sh @@ -59,6 +59,9 @@ perl -p -i.bak -e "s/[a-zA-Z0-9]+_DATA/noinst_DATA/g" `find glib-1.2.8 -name Mak perl -p -i.bak -e "s/info_TEXINFOS/noinst_TEXINFOS/g" `find glib-1.2.8 -name Makefile.am` perl -p -i.bak -e "s/man_MANS/noinst_MANS/g" `find glib-1.2.8 -name Makefile.am` +## patch gslist.c to have stable sort +perl -p -w -i.bak -e 's/if \(compare_func\(l1->data,l2->data\) < 0\)/if \(compare_func\(l1->data,l2->data\) <= 0\)/g' glib-1.2.8/gslist.c + (cd glib-1.2.8 && libtoolize --copy --force && $ACLOCAL $ACLOCAL_FLAGS && $AUTOMAKE && autoconf) if test -z "$*"; then -- cgit v1.2.1