summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSalah Coronya <salah.coronya@gmail.com>2020-09-24 13:40:32 -0500
committerJoonas Niilola <juippis@gentoo.org>2020-10-08 09:46:44 +0300
commitbd6af1944ccbf81a3d43df39ecc45e874493b87f (patch)
treeb7e4cd90242a318a846e7ec5fc01f2f6be3dd37d /app-crypt/tpm2-pkcs11/files
parentapp-crypt/tpm2-tools: Remove old (diff)
downloadgentoo-bd6af1944ccbf81a3d43df39ecc45e874493b87f.tar.gz
gentoo-bd6af1944ccbf81a3d43df39ecc45e874493b87f.tar.bz2
gentoo-bd6af1944ccbf81a3d43df39ecc45e874493b87f.zip
app-crypt/tpm2-pkcs11: Remove -WError, fix clang compile
Closes: https://bugs.gentoo.org/744439 Closes: https://bugs.gentoo.org/744457 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Salah Coronya <salah.coronya@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/17653 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-crypt/tpm2-pkcs11/files')
-rw-r--r--app-crypt/tpm2-pkcs11/files/tpm2-pkcs11-1.3.2-Remove-WError.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-crypt/tpm2-pkcs11/files/tpm2-pkcs11-1.3.2-Remove-WError.patch b/app-crypt/tpm2-pkcs11/files/tpm2-pkcs11-1.3.2-Remove-WError.patch
new file mode 100644
index 000000000000..7aae19c7c71f
--- /dev/null
+++ b/app-crypt/tpm2-pkcs11/files/tpm2-pkcs11-1.3.2-Remove-WError.patch
@@ -0,0 +1,12 @@
+diff --git a/configure.ac b/configure.ac
+index 3088817..d789ce9 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -460,7 +460,6 @@ AS_IF([test x"$enable_hardening" != xno], [
+
+ add_hardened_c_flag([-Wall])
+ add_hardened_c_flag([-Wextra])
+- add_hardened_c_flag([-Werror])
+
+ add_hardened_c_flag([-Wformat])
+ add_hardened_c_flag([-Wformat-security])