[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - external/nss
Christian Lohmaier
lohmaier+LibreOffice at googlemail.com
Tue Mar 15 15:33:17 UTC 2016
external/nss/UnpackedTarball_nss.mk | 2 ++
external/nss/nss-winXP-sdk.patch.1 | 9 +++++++++
2 files changed, 11 insertions(+)
New commits:
commit 8b25d46246f7fa5fa1a97fa9ac6f9df379e5652f
Author: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
Date: Tue Mar 15 15:09:45 2016 +0100
fix nss build when targeting windows XP (using 7.1A SDK)
otherwise build fails because of macro redefinitions warnings (that are
now fatal because of warnings=errors)
Change-Id: I0a15083d9ffd032c48ab491695319309f3053fb7
(cherry picked from commit 09e201fcf2813152335d50588dae0c38adc88d51)
Reviewed-on: https://gerrit.libreoffice.org/23271
Reviewed-by: jan iversen <jani at documentfoundation.org>
Tested-by: jan iversen <jani at documentfoundation.org>
diff --git a/external/nss/UnpackedTarball_nss.mk b/external/nss/UnpackedTarball_nss.mk
index 0e2f20c..4ea8941 100644
--- a/external/nss/UnpackedTarball_nss.mk
+++ b/external/nss/UnpackedTarball_nss.mk
@@ -31,6 +31,8 @@ $(eval $(call gb_UnpackedTarball_add_patches,nss,\
external/nss/nss.cygwin64.in32bit.patch) \
$(if $(filter WNTMSC,$(OS)$(COM)), \
external/nss/nss.vs2015.pdb.patch) \
+ $(if $(findstring 120_70,$(VCVER)_$(WINDOWS_SDK_VERSION)), \
+ external/nss/nss-winXP-sdk.patch.1) \
))
# nss-pem is only needed for internal curl to read the NSS CA database
diff --git a/external/nss/nss-winXP-sdk.patch.1 b/external/nss/nss-winXP-sdk.patch.1
new file mode 100644
index 0000000..2c81892
--- /dev/null
+++ b/external/nss/nss-winXP-sdk.patch.1
@@ -0,0 +1,9 @@
+diff -ur nss.org/nss/coreconf/config.mk nss/nss/coreconf/config.mk
+--- nss.org/nss/coreconf/config.mk 2016-03-15 14:52:19.706093300 +0100
++++ nss/nss/coreconf/config.mk 2016-03-15 14:56:51.549914800 +0100
+@@ -188,3 +188,5 @@
+
+ # Hide old, deprecated, TLS cipher suite names when building NSS
+ DEFINES += -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES
++# build with 7.1A SDK for winXP compatibility
++DEFINES += -D_USING_V110_SDK71_
More information about the Libreoffice-commits
mailing list