summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2012-02-06 15:17:20 +0100
committerJan Holesovsky <kendy@suse.cz>2012-02-06 16:47:41 +0100
commit5b381e2adb00a384d34354e45052c73773843dfd (patch)
tree0e93f7c58121207e313c4651745cf80c6ef1f878
parentd2e2e3817376787f1804ee808bd37cc99815799a (diff)
fix postgresql massive-parallel build
Signed-off-by: Jan Holesovsky <kendy@suse.cz>
-rw-r--r--postgresql/libpq-parallel-build.patch11
-rw-r--r--postgresql/makefile.mk1
2 files changed, 12 insertions, 0 deletions
diff --git a/postgresql/libpq-parallel-build.patch b/postgresql/libpq-parallel-build.patch
new file mode 100644
index 000000000000..237a483762b1
--- /dev/null
+++ b/postgresql/libpq-parallel-build.patch
@@ -0,0 +1,11 @@
+diff --recursive -u misc/build/postgresql-9.1.1/src/interfaces/libpq/Makefile misc/build/postgresql-9.1.1.patch/src/interfaces/libpq/Makefile
+--- misc/build/postgresql-9.1.1/src/interfaces/libpq/Makefile 2012-02-06 15:11:19.000000000 +0100
++++ misc/build/postgresql-9.1.1.patch/src/interfaces/libpq/Makefile 2012-02-06 15:02:51.000000000 +0100
+@@ -109,6 +109,7 @@
+ libpq.rc: $(top_builddir)/src/Makefile.global
+
+ fe-connect.o: fe-connect.c $(top_builddir)/src/port/pg_config_paths.h
++fe-misc.o: fe-misc.c $(top_builddir)/src/port/pg_config_paths.h
+
+ $(top_builddir)/src/port/pg_config_paths.h:
+ $(MAKE) -C $(top_builddir)/src/port pg_config_paths.h
diff --git a/postgresql/makefile.mk b/postgresql/makefile.mk
index 8b57a0777441..dda5242f7934 100644
--- a/postgresql/makefile.mk
+++ b/postgresql/makefile.mk
@@ -39,6 +39,7 @@ TARGET=so_postgresql
TARFILE_NAME=postgresql-9.1.1
TARFILE_MD5=061a9f17323117c9358ed60f33ecff78
PATCH_FILES=\
+ libpq-parallel-build.patch \
$(TARFILE_NAME).patch
.IF "$(SYSTEM_POSTGRESQL)" == "YES"