From 721f5ecff516f361863dbe1a2c827f443a447cb4 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 11 Jan 2007 00:17:11 +0000 Subject: Update to PostgreSQL 8.2.1, pgtcl 1.5.3 --- postgresql-prefer-ncurses.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 postgresql-prefer-ncurses.patch (limited to 'postgresql-prefer-ncurses.patch') diff --git a/postgresql-prefer-ncurses.patch b/postgresql-prefer-ncurses.patch new file mode 100644 index 0000000..04a4efb --- /dev/null +++ b/postgresql-prefer-ncurses.patch @@ -0,0 +1,20 @@ +This patch hacks the Postgres configure script to prefer libncurses over +libtermcap. This is needed in the current Fedora environment because while +both are available, libtermcap is deprecated and will be removed in the +fairly near future. Because the need for this is short-term, I'm not +going to try to push it upstream; this patch can go away once libtermcap +is no longer present in the standard build environment. + + +diff -Naur postgresql-8.2.1.orig/config/programs.m4 postgresql-8.2.1/config/programs.m4 +--- postgresql-8.2.1.orig/config/programs.m4 2006-05-23 15:28:45.000000000 -0400 ++++ postgresql-8.2.1/config/programs.m4 2007-01-10 18:42:22.000000000 -0500 +@@ -88,7 +88,7 @@ + fi + for pgac_rllib in $READLINE_ORDER ; do + AC_MSG_CHECKING([for ${pgac_rllib}]) +- for pgac_lib in "" " -ltermcap" " -lncurses" " -lcurses" ; do ++ for pgac_lib in "" " -lncurses" " -ltermcap" " -lcurses" ; do + LIBS="${pgac_rllib}${pgac_lib} $pgac_save_LIBS" + AC_TRY_LINK_FUNC([readline], [[ + # Older NetBSD, OpenBSD, and Irix have a broken linker that does not -- cgit