From 022ce861771a60cf7444cf615b51bb702c175fd3 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 2 Jul 2014 12:42:28 +0200 Subject: postgresql: import from oldpackages, add myself as maintainer, add license information, update to v9.0.17 Signed-off-by: Jo-Philipp Wich --- libs/postgresql/patches/200-ranlib.patch | 10 ++++++++++ libs/postgresql/patches/800-busybox-default-pager.patch | 13 +++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 libs/postgresql/patches/200-ranlib.patch create mode 100644 libs/postgresql/patches/800-busybox-default-pager.patch (limited to 'libs/postgresql/patches') diff --git a/libs/postgresql/patches/200-ranlib.patch b/libs/postgresql/patches/200-ranlib.patch new file mode 100644 index 000000000..1b68b8378 --- /dev/null +++ b/libs/postgresql/patches/200-ranlib.patch @@ -0,0 +1,10 @@ +--- a/src/port/Makefile ++++ b/src/port/Makefile +@@ -53,6 +53,7 @@ uninstall: + + libpgport.a: $(OBJS) + $(AR) $(AROPT) $@ $^ ++ $(RANLIB) libpgport.a + + # thread.o needs PTHREAD_CFLAGS (but thread_srv.o does not) + thread.o: thread.c diff --git a/libs/postgresql/patches/800-busybox-default-pager.patch b/libs/postgresql/patches/800-busybox-default-pager.patch new file mode 100644 index 000000000..3cd253238 --- /dev/null +++ b/libs/postgresql/patches/800-busybox-default-pager.patch @@ -0,0 +1,13 @@ +--- a/src/bin/psql/print.h ++++ b/src/bin/psql/print.h +@@ -171,10 +171,6 @@ extern void printQuery(const PGresult *r + extern void setDecimalLocale(void); + extern const printTextFormat *get_line_style(const printTableOpt *opt); + +-#ifndef __CYGWIN__ +-#define DEFAULT_PAGER "more" +-#else + #define DEFAULT_PAGER "less" +-#endif + + #endif /* PRINT_H */ -- cgit v1.2.3