diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2014-07-02 12:42:28 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2014-07-02 12:42:33 +0200 |
commit | 022ce861771a60cf7444cf615b51bb702c175fd3 (patch) | |
tree | 556640a134bc2e004c6050d93884ce33536aa0dc /libs/postgresql/patches | |
parent | 092733f241641f0a8ccadc4ee02e39069aa6b4a3 (diff) |
postgresql: import from oldpackages, add myself as maintainer, add license information, update to v9.0.17
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'libs/postgresql/patches')
-rw-r--r-- | libs/postgresql/patches/200-ranlib.patch | 10 | ||||
-rw-r--r-- | libs/postgresql/patches/800-busybox-default-pager.patch | 13 |
2 files changed, 23 insertions, 0 deletions
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 */ |