summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2022-10-28 11:50:34 +0200
committerMiklos Vajna <vmiklos@collabora.com>2022-10-28 16:12:21 +0200
commitfc4c0722095f7fd2232997fae6a8f61c4a482edc (patch)
tree6c714a380fef1212811b63d2ab326524c449d606 /external
parent2c0997900d35e54466d479c9c5437d447ba9b165 (diff)
xmlsec: blind fix to lower the possibly pointless NSS requirement
this was changed upstream for https://github.com/lsh123/xmlsec/issues/308 and the hope is that only the test suite requires newer NSS Change-Id: Ibb4128ed98476f129470fac1f9b8cde181bb7bb2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141962 Reviewed-by: Jean-Baptiste Faure <jbfaure@libreoffice.org> Tested-by: Miklos Vajna <vmiklos@collabora.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'external')
-rw-r--r--external/xmlsec/UnpackedTarball_xmlsec.mk1
-rw-r--r--external/xmlsec/old-nss.patch.113
2 files changed, 14 insertions, 0 deletions
diff --git a/external/xmlsec/UnpackedTarball_xmlsec.mk b/external/xmlsec/UnpackedTarball_xmlsec.mk
index 7b4f082bf931..b64fe48e6161 100644
--- a/external/xmlsec/UnpackedTarball_xmlsec.mk
+++ b/external/xmlsec/UnpackedTarball_xmlsec.mk
@@ -10,6 +10,7 @@
xmlsec_patches :=
xmlsec_patches += remove-unnecessary-macro-417.patch.1
xmlsec_patches += fix-size_max-412.patch.1
+xmlsec_patches += old-nss.patch.1
$(eval $(call gb_UnpackedTarball_UnpackedTarball,xmlsec))
diff --git a/external/xmlsec/old-nss.patch.1 b/external/xmlsec/old-nss.patch.1
new file mode 100644
index 000000000000..2fc16f30f2ae
--- /dev/null
+++ b/external/xmlsec/old-nss.patch.1
@@ -0,0 +1,13 @@
+--- xmlsec/configure.ac.orig 2022-10-28 11:49:10.461643631 +0200
++++ xmlsec/configure.ac 2022-10-28 11:49:23.637626991 +0200
+@@ -948,8 +948,8 @@
+ dnl 2 overrides 1
+ dnl
+ dnl ==========================================================================
+-NSS_MIN_VERSION="3.50.1"
+-NSPR_MIN_VERSION="4.25.1"
++NSS_MIN_VERSION="3.49"
++NSPR_MIN_VERSION="4.25.0"
+ SEAMONKEY_MIN_VERSION="1.0"
+ MOZILLA_MIN_VERSION="1.4"
+ NSS_CRYPTO_LIB="$XMLSEC_PACKAGE-nss"