1 diff -Naur core-87facad88d565e8e9fe21d04897058cca0ea55cd/external/xmlsec.old/xmlsec-nss-missing-header.patch.1 core-87facad88d565e8e9fe21d04897058cca0ea55cd/external/xmlsec/xmlsec-nss-missing-header.patch.1
2 --- core-589fb36b663cbd68afc26419629a4a95bd593a89/external/xmlsec/UnpackedTarball_xmlsec.mk.old 2024-04-17 20:28:35.576261222 -0400
3 +++ core-589fb36b663cbd68afc26419629a4a95bd593a89/external/xmlsec/UnpackedTarball_xmlsec.mk 2024-04-17 20:29:34.651864517 -0400
5 xmlsec_patches += old-nss.patch.1
6 # Remove this when Windows 7 is no longer supported
7 xmlsec_patches += BCryptKeyDerivation.patch.1
8 +# needed when nss < 3.59
9 +xmlsec_patches += xmlsec-nss-missing-header.patch.1
11 $(eval $(call gb_UnpackedTarball_UnpackedTarball,xmlsec))
13 --- core-87facad88d565e8e9fe21d04897058cca0ea55cd/external/xmlsec.old/xmlsec-nss-missing-header.patch.1 1969-12-31 19:00:00.000000000 -0500
14 +++ core-87facad88d565e8e9fe21d04897058cca0ea55cd/external/xmlsec/xmlsec-nss-missing-header.patch.1 2024-01-27 23:21:12.570654096 -0500
16 +--- a/src/nss/crypto.c 2024-01-27 23:02:51.951973350 -0500
17 ++++ b/src/nss/crypto.c 2024-01-27 23:06:44.375594392 -0500
20 + #include "../cast_helpers.h"
22 ++#ifndef NSS_USE_ALG_IN_ANY_SIGNATURE
23 ++#define NSS_USE_ALG_IN_ANY_SIGNATURE 0x00000020 /* used in any signature */
26 + static xmlSecCryptoDLFunctionsPtr gXmlSecNssFunctions = NULL;