diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-01-11 01:28:36 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-01-24 14:03:15 +0100 |
commit | a2d112f5512cc3cb26f25a12085cc4be6ccc13f1 (patch) | |
tree | 32146bddbca1767051576fe1921c49381f0d830c /app-crypt/qca/files | |
parent | dev-qt: Fix build for QT5_MODULE=qtbase w/ GCC-11 (diff) | |
download | gentoo-a2d112f5512cc3cb26f25a12085cc4be6ccc13f1.tar.gz gentoo-a2d112f5512cc3cb26f25a12085cc4be6ccc13f1.tar.bz2 gentoo-a2d112f5512cc3cb26f25a12085cc4be6ccc13f1.zip |
app-crypt/qca: Fix build with GCC-11
Closes: https://bugs.gentoo.org/764047
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'app-crypt/qca/files')
-rw-r--r-- | app-crypt/qca/files/qca-2.3.1-gcc11.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/app-crypt/qca/files/qca-2.3.1-gcc11.patch b/app-crypt/qca/files/qca-2.3.1-gcc11.patch new file mode 100644 index 000000000000..cd4eaab86880 --- /dev/null +++ b/app-crypt/qca/files/qca-2.3.1-gcc11.patch @@ -0,0 +1,30 @@ +From f015cc64889035c084138864e2e030ece19c257b Mon Sep 17 00:00:00 2001 +From: Jeff Law <law@redhat.com> +Date: Dec 04 2020 03:55:48 +0000 +Subject: Fix missing includes for gcc-11 + + +diff --git a/src/qca_cert.cpp b/src/qca_cert.cpp +index 5e73d98..225aecd 100644 +--- a/src/qca_cert.cpp ++++ b/src/qca_cert.cpp +@@ -19,6 +19,7 @@ + * + */ + ++#include <memory> + #include "qca_cert.h" + + #include "qca_publickey.h" +diff --git a/src/qca_default.cpp b/src/qca_default.cpp +index fd35702..db87e87 100644 +--- a/src/qca_default.cpp ++++ b/src/qca_default.cpp +@@ -19,6 +19,7 @@ + * + */ + ++#include <memory> + #include "qca_core.h" + + #include <QMutex> |