From f6af6c0fb92601682b74580e54169a8253705eea Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 28 Apr 2008 23:00:55 +0000 Subject: Fix build breakage on PPC due to incorrect configure test --- postgresql-xslt.patch | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 postgresql-xslt.patch (limited to 'postgresql-xslt.patch') diff --git a/postgresql-xslt.patch b/postgresql-xslt.patch new file mode 100644 index 0000000..1e2405b --- /dev/null +++ b/postgresql-xslt.patch @@ -0,0 +1,30 @@ +This patch is needed to build successfully on PPC, where the linker is +evidently pickier about functions vs variables than on other Fedora +platforms. Note it is already committed upstream, so we won't need it +in postgres 8.3.2 and later. + + +Index: configure.in +=================================================================== +RCS file: /cvsroot/pgsql/configure.in,v +retrieving revision 1.546.2.3 +diff -c -r1.546.2.3 configure.in +*** configure.in 14 Mar 2008 03:23:22 -0000 1.546.2.3 +--- configure.in 28 Apr 2008 22:41:54 -0000 +*************** +*** 795,801 **** + fi + + if test "$with_libxslt" = yes ; then +! AC_CHECK_LIB(xslt, xsltLibxmlVersion, [], [AC_MSG_ERROR([library 'xslt' is required for XSLT support])]) + fi + + # for contrib/uuid-ossp +--- 795,801 ---- + fi + + if test "$with_libxslt" = yes ; then +! AC_CHECK_LIB(xslt, xsltCleanupGlobals, [], [AC_MSG_ERROR([library 'xslt' is required for XSLT support])]) + fi + + # for contrib/uuid-ossp -- cgit