aboutsummaryrefslogtreecommitdiffstats
path: root/package/postgresql/patches
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-04-14 06:04:34 +0000
committerNicolas Thill <nico@openwrt.org>2005-04-14 06:04:34 +0000
commita289dbc582795da29233cd2fdecd8149574b12da (patch)
tree6f852aa7122e235200326275e487903de9dc490a /package/postgresql/patches
parent6ae28e4aa8117837d0988fb550b7c321524f3927 (diff)
downloadmaster-187ad058-a289dbc582795da29233cd2fdecd8149574b12da.tar.gz
master-187ad058-a289dbc582795da29233cd2fdecd8149574b12da.tar.bz2
master-187ad058-a289dbc582795da29233cd2fdecd8149574b12da.zip
Change postgresql to experimental coding style
Make configure honor CPPFLAGS git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@638 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/postgresql/patches')
-rw-r--r--package/postgresql/patches/750-configure-honor-cppflags.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/postgresql/patches/750-configure-honor-cppflags.patch b/package/postgresql/patches/750-configure-honor-cppflags.patch
new file mode 100644
index 0000000000..897c6c05a9
--- /dev/null
+++ b/package/postgresql/patches/750-configure-honor-cppflags.patch
@@ -0,0 +1,10 @@
+diff -ruN postgresql-7.4.6-old/src/template/linux postgresql-7.4.6-new/src/template/linux
+--- postgresql-7.4.6-old/src/template/linux 2003-10-09 18:52:45.000000000 +0200
++++ postgresql-7.4.6-new/src/template/linux 2005-04-13 03:12:49.000000000 +0200
+@@ -1,5 +1,5 @@
+ # Force _GNU_SOURCE on; plperl is broken with Perl 5.8.0 otherwise
+-CPPFLAGS="-D_GNU_SOURCE"
++CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
+
+ THREAD_SUPPORT=yes
+ NEED_REENTRANT_FUNCS=yes # Debian kernel 2.2 2003-09-27