summaryrefslogtreecommitdiff
path: root/postgresql
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2012-02-09 10:39:46 +0200
committerTor Lillqvist <tml@iki.fi>2012-02-10 14:04:43 +0200
commitece70bbfecd550fcd4d1d6525cd103bb7fec8b67 (patch)
tree4179755c8061501fa083fd96dfdb33013a0711dd /postgresql
parent1c343fd6e34e34e7620c550b33a55ad7dfcfee98 (diff)
Silence silly MSVC "deprecation" warnings too
Diffstat (limited to 'postgresql')
-rw-r--r--postgresql/postgresql-9.1.1-libreoffice.patch6
1 files changed, 5 insertions, 1 deletions
diff --git a/postgresql/postgresql-9.1.1-libreoffice.patch b/postgresql/postgresql-9.1.1-libreoffice.patch
index 83f3aec69ff8..8647a2670a95 100644
--- a/postgresql/postgresql-9.1.1-libreoffice.patch
+++ b/postgresql/postgresql-9.1.1-libreoffice.patch
@@ -81,7 +81,7 @@ diff --recursive -u misc/build/postgresql-9.1.1/src/interfaces/libpq/win32.mak m
CLEAN :
-@erase "$(INTDIR)\getaddrinfo.obj"
-@@ -192,7 +186,7 @@
+@@ -192,10 +186,11 @@
CPP_PROJ=/nologo /W3 /EHsc $(OPT) \
/I "..\..\include" /I "..\..\include\port\win32" /I "..\..\include\port\win32_msvc" \
@@ -90,6 +90,10 @@ diff --recursive -u misc/build/postgresql-9.1.1/src/interfaces/libpq/win32.mak m
/D "FRONTEND" $(DEBUGDEF) \
/D "WIN32" /D "_WINDOWS" /Fp"$(INTDIR)\libpq.pch" \
/Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c \
++ /D "_CRT_NONSTDC_NO_DEPRECATE" \
+ /D "_CRT_SECURE_NO_DEPRECATE" $(ADD_DEFINES)
+
+ !IFDEF USE_SSL
@@ -230,7 +224,7 @@
LINK32=link.exe
LINK32_FLAGS=kernel32.lib user32.lib advapi32.lib shfolder.lib wsock32.lib ws2_32.lib secur32.lib $(SSL_LIBS) $(LDAP_LIBS) $(KFW_LIBS) $(ADD_SECLIB) \