summaryrefslogtreecommitdiff
path: root/postgresql/postgresql-9.1.1-libreoffice.patch
diff options
context:
space:
mode:
Diffstat (limited to 'postgresql/postgresql-9.1.1-libreoffice.patch')
-rw-r--r--postgresql/postgresql-9.1.1-libreoffice.patch16
1 files changed, 15 insertions, 1 deletions
diff --git a/postgresql/postgresql-9.1.1-libreoffice.patch b/postgresql/postgresql-9.1.1-libreoffice.patch
index d3ba124afe0b..83f3aec69ff8 100644
--- a/postgresql/postgresql-9.1.1-libreoffice.patch
+++ b/postgresql/postgresql-9.1.1-libreoffice.patch
@@ -11,7 +11,7 @@ diff --recursive -u misc/build/postgresql-9.1.1/src/interfaces/libpq/Makefile mi
diff --recursive -u misc/build/postgresql-9.1.1/src/interfaces/libpq/win32.mak misc/build/postgresql-9.1.1.patched/src/interfaces/libpq/win32.mak
--- misc/build/postgresql-9.1.1/src/interfaces/libpq/win32.mak 2011-12-14 14:28:59.000000000 +0100
+++ misc/build/postgresql-9.1.1.patched/src/interfaces/libpq/win32.mak 2011-12-15 09:11:37.000000000 +0100
-@@ -13,18 +13,19 @@
+@@ -13,30 +13,29 @@
# CPU="i386" or CPU environment of nmake.exe (AMD64 or IA64)
@@ -35,6 +35,20 @@ diff --recursive -u misc/build/postgresql-9.1.1/src/interfaces/libpq/win32.mak m
!ERROR Make aborted.
!ENDIF
+ !IFDEF DEBUG
+-OPT=/Od /Zi /MDd
++OPT=/Od /Zi
+ LOPT=/DEBUG
+-DEBUGDEF=/D _DEBUG
+-OUTFILENAME=libpqd
++OUTFILENAME=libpq
+ !ELSE
+ OPT=/O2 /MD
+ LOPT=
+-DEBUGDEF=/D NDEBUG
+ OUTFILENAME=libpq
+ !ENDIF
+
@@ -56,7 +57,7 @@
!ENDIF