summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-04-17 01:27:03 +0100
committerSam James <sam@gentoo.org>2023-04-17 01:27:03 +0100
commit4eba1841d54a31ffe98938dfef3c93ab3eb4a2e3 (patch)
tree902899a2fbc5f6181883d069da2c409f99bce443 /dev-libs/xmlsec
parentdev-ruby/typeprof: stable 0.21.7 for hppa, bug #904210 (diff)
downloadgentoo-4eba1841d54a31ffe98938dfef3c93ab3eb4a2e3.tar.gz
gentoo-4eba1841d54a31ffe98938dfef3c93ab3eb4a2e3.tar.bz2
gentoo-4eba1841d54a31ffe98938dfef3c93ab3eb4a2e3.zip
dev-libs/xmlsec: fix build w/ clang
Closes: https://bugs.gentoo.org/904418 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/xmlsec')
-rw-r--r--dev-libs/xmlsec/files/xmlsec-1.3.0-clang.patch19
-rw-r--r--dev-libs/xmlsec/xmlsec-1.3.0.ebuild1
2 files changed, 20 insertions, 0 deletions
diff --git a/dev-libs/xmlsec/files/xmlsec-1.3.0-clang.patch b/dev-libs/xmlsec/files/xmlsec-1.3.0-clang.patch
new file mode 100644
index 000000000000..a8e8a9b50a46
--- /dev/null
+++ b/dev-libs/xmlsec/files/xmlsec-1.3.0-clang.patch
@@ -0,0 +1,19 @@
+https://bugs.gentoo.org/904418
+https://github.com/lsh123/xmlsec/commit/0682c1d4be1e1d5d0f3cf5c4d2301dc3da09d677
+
+From 0682c1d4be1e1d5d0f3cf5c4d2301dc3da09d677 Mon Sep 17 00:00:00 2001
+From: lsh123 <aleksey@aleksey.com>
+Date: Thu, 13 Apr 2023 09:49:25 -0400
+Subject: [PATCH] Add newline (#628)
+
+Issue #626
+--- a/src/openssl/symkeys.c
++++ b/src/openssl/symkeys.c
+@@ -618,4 +618,4 @@ xmlSecOpenSSLKeyDataPbkdf2Set(xmlSecKeyDataPtr data, const xmlSecByte* buf, xmlS
+
+ return(xmlSecBufferSetData(buffer, buf, bufSize));
+ }
+-#endif /* XMLSEC_NO_PBKDF2 */
+\ No newline at end of file
++#endif /* XMLSEC_NO_PBKDF2 */
+
diff --git a/dev-libs/xmlsec/xmlsec-1.3.0.ebuild b/dev-libs/xmlsec/xmlsec-1.3.0.ebuild
index ca8bb9084b40..e0191245d162 100644
--- a/dev-libs/xmlsec/xmlsec-1.3.0.ebuild
+++ b/dev-libs/xmlsec/xmlsec-1.3.0.ebuild
@@ -42,6 +42,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/${P}-strict-prototypes.patch
+ "${FILESDIR}"/${P}-clang.patch
)
src_configure() {