[PATCH] fix postgresql massive-parallel build

Lionel Elie Mamane lionel at mamane.lu
Mon Feb 6 06:17:20 PST 2012


---
 postgresql/libpq-parallel-build.patch |   11 +++++++++++
 postgresql/makefile.mk                |    1 +
 2 files changed, 12 insertions(+), 0 deletions(-)
 create mode 100644 postgresql/libpq-parallel-build.patch

diff --git a/postgresql/libpq-parallel-build.patch b/postgresql/libpq-parallel-build.patch
new file mode 100644
index 0000000..237a483
--- /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 340a6a8..75c1e62 100644
--- a/postgresql/makefile.mk
+++ b/postgresql/makefile.mk
@@ -41,6 +41,7 @@ TARFILE_MD5=061a9f17323117c9358ed60f33ecff78
 PATCH_FILES=\
 	postgresql-moz-ldap.patch \
 	postgresql-libs-leak.patch \
+	libpq-parallel-build.patch \
 	$(TARFILE_NAME)-libreoffice.patch \
 	$(TARFILE_NAME)-autoreconf.patch
 
-- 
1.7.7.3


--+g7M9IMkV8truYOl--


More information about the LibreOffice mailing list