diff options
author | 2021-06-15 03:45:51 +0000 | |
---|---|---|
committer | 2021-06-15 03:45:51 +0000 | |
commit | 6f4c9bd084526bce777418dc7a1d269046413bea (patch) | |
tree | a3f5d582a5b1e2c2e6ebd21a2ed0d203b47a4ad0 /net-dns/dnsdist/files | |
parent | dev-libs/xapian: workaround build failure with GCC 11 for 1.2.25 (diff) | |
download | gentoo-6f4c9bd084526bce777418dc7a1d269046413bea.tar.gz gentoo-6f4c9bd084526bce777418dc7a1d269046413bea.tar.bz2 gentoo-6f4c9bd084526bce777418dc7a1d269046413bea.zip |
net-dns/dnsdist: fix build with GCC 11, protobuf no longer optional
* Fix build with GCC 11
* Upstream made protobuf mandatory
Closes: https://bugs.gentoo.org/790719
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-dns/dnsdist/files')
-rw-r--r-- | net-dns/dnsdist/files/dnsdist-1.6.0-gcc11-missing-include.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/net-dns/dnsdist/files/dnsdist-1.6.0-gcc11-missing-include.patch b/net-dns/dnsdist/files/dnsdist-1.6.0-gcc11-missing-include.patch new file mode 100644 index 000000000000..6e549b2450ee --- /dev/null +++ b/net-dns/dnsdist/files/dnsdist-1.6.0-gcc11-missing-include.patch @@ -0,0 +1,24 @@ +https://bugs.gentoo.org/790719 +https://github.com/hhoffstaette/portage/blob/master/net-dns/dnsdist/files/dnsdist-1.6.0-add-missing-include.patch + +From: Kees Monshouwer <mind04@monshouwer.org> +Date: Tue, 11 May 2021 10:27:01 +0200 +Subject: [PATCH] add missing includes (Fedora 34, gcc 11.1 / clang 12) + +[HH: reduced to necessary patch for dnsdist] +--- + lock.hh | 1 + + 1 file changed, 1 insertions(+) + +diff --git a/lock.hh b/lock.hh +index 09299d7979d..0644502f871 100644 +--- a/lock.hh ++++ b/lock.hh +@@ -20,6 +20,7 @@ + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #pragma once ++#include <mutex> + #include <shared_mutex> + + class ReadWriteLock |