SOURCES: libpqxx-ac.patch (NEW) - fix bashizm and rpath hardcoding.

pluto pluto at pld-linux.org
Tue Mar 21 20:14:29 CET 2006


Author: pluto                        Date: Tue Mar 21 19:14:29 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix bashizm and rpath hardcoding.

---- Files affected:
SOURCES:
   libpqxx-ac.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/libpqxx-ac.patch
diff -u /dev/null SOURCES/libpqxx-ac.patch:1.1
--- /dev/null	Tue Mar 21 20:14:29 2006
+++ SOURCES/libpqxx-ac.patch	Tue Mar 21 20:14:24 2006
@@ -0,0 +1,20 @@
+--- libpqxx-2.5.5/configure.ac.orig	2006-03-21 19:59:08.000000000 +0100
++++ libpqxx-2.5.5/configure.ac	2006-03-21 20:04:24.000000000 +0100
+@@ -50,7 +50,7 @@
+ AC_LANG(C++)
+ 
+ # Add options to compiler command line, if compiler accepts it
+-function add_compiler_opts() {
++add_compiler_opts() {
+ 	for option in $* ; do
+ 		SAVE_CXXFLAGS="$CXXFLAGS"
+ 		CXXFLAGS="$CXXFLAGS $option"
+@@ -212,7 +212,7 @@
+ 
+ AC_SUBST(with_postgres_lib)
+ AC_SUBST(with_postgres_include)
+-POSTGRES_LIB="-L${with_postgres_lib} -R${with_postgres_lib} -lpq"
++POSTGRES_LIB="-L${with_postgres_lib} -lpq"
+ AC_SUBST(POSTGRES_LIB)
+ POSTGRES_INCLUDE="-I${with_postgres_include}"
+ AC_SUBST(POSTGRES_INCLUDE)
================================================================


More information about the pld-cvs-commit mailing list