diff options
author | Cédric Krier <cedk@gentoo.org> | 2008-12-21 13:52:07 +0000 |
---|---|---|
committer | Cédric Krier <cedk@gentoo.org> | 2008-12-21 13:52:07 +0000 |
commit | 8ca40bd043e89dcbc1340295f3702797e976cd48 (patch) | |
tree | 0a353922ced13ee9a1be2e8caeb38c7837c24ee2 /dev-db/pg_top/files | |
parent | x86 stable, bug #251816 (diff) | |
download | historical-8ca40bd043e89dcbc1340295f3702797e976cd48.tar.gz historical-8ca40bd043e89dcbc1340295f3702797e976cd48.tar.bz2 historical-8ca40bd043e89dcbc1340295f3702797e976cd48.zip |
Fix build with --as-needed for bug #247007
Package-Manager: portage-2.1.4.5
Diffstat (limited to 'dev-db/pg_top/files')
-rw-r--r-- | dev-db/pg_top/files/pg_top-3.6.2.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-db/pg_top/files/pg_top-3.6.2.patch b/dev-db/pg_top/files/pg_top-3.6.2.patch new file mode 100644 index 000000000000..0d4e82fe26a6 --- /dev/null +++ b/dev-db/pg_top/files/pg_top-3.6.2.patch @@ -0,0 +1,24 @@ +diff -ru pg_top-3.6.2~/configure.ac pg_top-3.6.2/configure.ac +--- pg_top-3.6.2~/configure.ac 2008-12-21 14:43:47.000000000 +0100 ++++ pg_top-3.6.2/configure.ac 2008-12-21 14:44:21.000000000 +0100 +@@ -90,7 +90,7 @@ + + DBCFLAGS="-I$INCLUDEDIR" + LIBDIR=`$PG_CONFIG --libdir` +-DBLDFLAGS="-L$LIBDIR -lpq" ++DBLDFLAGS="-L$LIBDIR" + + AC_SUBST(DBCFLAGS) + AC_SUBST(DBLDFLAGS) +@@ -109,6 +109,8 @@ + AC_SEARCH_LIBS(inet_aton, resolv, AC_DEFINE(HAVE_INET_ATON, 1, + [inet_aton is already defined])) + ++AC_SEARCH_LIBS(PQexec, pq) ++ + # check for libraries required by extension + extlibs="" + if test -n "$with_ext" -a -f "${srcdir}/ext/$with_ext.libs"; then +Only in pg_top-3.6.2~: .configure.ac.swp +Only in pg_top-3.6.2~: .configure.swp +Only in pg_top-3.6.2~: .Makefile.am.swp |