diff options
Diffstat (limited to 'dev-libs/xmlsec/files')
-rw-r--r-- | dev-libs/xmlsec/files/xmlsec-1.3.0-clang.patch | 19 | ||||
-rw-r--r-- | dev-libs/xmlsec/files/xmlsec-1.3.0-optimisation.patch | 11 |
2 files changed, 30 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/files/xmlsec-1.3.0-optimisation.patch b/dev-libs/xmlsec/files/xmlsec-1.3.0-optimisation.patch new file mode 100644 index 000000000000..2cd0401e019d --- /dev/null +++ b/dev-libs/xmlsec/files/xmlsec-1.3.0-optimisation.patch @@ -0,0 +1,11 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -2482,7 +2482,7 @@ AC_ARG_ENABLE([pedantic], [AS_HELP_STRING([--enable-pedantic],[enable pedantic c + if test "z$enable_pedantic" = "zno" ; then + AC_MSG_RESULT([disabled]) + else +- CFLAGS="$CFLAGS -O -std=c99 -pedantic -pedantic-errors -W -Wall -Wextra" ++ CFLAGS="$CFLAGS -std=c99 -pedantic -W -Wall -Wextra" + CFLAGS="$CFLAGS -fno-inline -Wnull-dereference -Wdouble-promotion" + CFLAGS="$CFLAGS -Wformat=2 -Wformat-security -Wformat-nonliteral" + CFLAGS="$CFLAGS -Wconversion -Wunused -Wshadow -Wpointer-arith -Wcast-align" |