rpms/postgresql/devel postgresql-xslt.patch, NONE, 1.1 postgresql.spec, 1.93, 1.94

Tom Lane (tgl) fedora-extras-commits at redhat.com
Mon Apr 28 23:01:33 UTC 2008


Author: tgl

Update of /cvs/pkgs/rpms/postgresql/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4286

Modified Files:
	postgresql.spec 
Added Files:
	postgresql-xslt.patch 
Log Message:
Fix build breakage on PPC due to incorrect configure test

postgresql-xslt.patch:

--- NEW FILE postgresql-xslt.patch ---
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


Index: postgresql.spec
===================================================================
RCS file: /cvs/pkgs/rpms/postgresql/devel/postgresql.spec,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -r1.93 -r1.94
--- postgresql.spec	27 Apr 2008 00:54:00 -0000	1.93
+++ postgresql.spec	28 Apr 2008 23:00:55 -0000	1.94
@@ -82,7 +82,7 @@
 Summary: PostgreSQL client programs and libraries
 Name: postgresql
 Version: 8.3.1
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: BSD
 Group: Applications/Databases
 Url: http://www.postgresql.org/ 
@@ -108,6 +108,7 @@
 Patch5: pgtcl-no-rpath.patch
 Patch6: postgresql-perl-rpath.patch
 Patch8: postgresql-prefer-ncurses.patch
+Patch9: postgresql-xslt.patch
 
 BuildRequires: perl(ExtUtils::MakeMaker) glibc-devel bison flex autoconf gawk
 BuildRequires: perl(ExtUtils::Embed), perl-devel
@@ -353,6 +354,7 @@
 # patch5 is applied later
 %patch6 -p1
 %patch8 -p1
+%patch9 -p0
 
 #call autoconf 2.53 or greater
 %aconfver
@@ -841,6 +843,10 @@
 %endif
 
 %changelog
+* Mon Apr 28 2008 Tom Lane <tgl at redhat.com> 8.3.1-3
+- Fix build breakage on PPC due to incorrect configure test
+Related: #444317
+
 * Sat Apr 26 2008 Tom Lane <tgl at redhat.com> 8.3.1-2
 - Clean up cross-subpackage Requires: to ensure that updating any one
   subpackage brings in the matching versions of others.




More information about the fedora-extras-commits mailing list