From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 256C11382C5 for ; Fri, 14 May 2021 00:24:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6C8BAE07F1; Fri, 14 May 2021 00:24:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 50532E07F1 for ; Fri, 14 May 2021 00:24:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5B014340E95 for ; Fri, 14 May 2021 00:24:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EE208729 for ; Fri, 14 May 2021 00:24:47 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1620951876.9cc6e5ae81288c4a3a2c68cdb74368e0378b21a3.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/kea/, net-misc/kea/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/kea/files/kea-1.8.2-fix-cxx11-detection.patch net-misc/kea/kea-1.8.2.ebuild X-VCS-Directories: net-misc/kea/ net-misc/kea/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 9cc6e5ae81288c4a3a2c68cdb74368e0378b21a3 X-VCS-Branch: master Date: Fri, 14 May 2021 00:24:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6c7f577f-3014-4cdc-b9fd-9c7d711bbfd8 X-Archives-Hash: 7feea9e4d8bee5997532db767b442c5f commit: 9cc6e5ae81288c4a3a2c68cdb74368e0378b21a3 Author: David Seifert gentoo org> AuthorDate: Thu May 13 21:30:16 2021 +0000 Commit: Sam James gentoo org> CommitDate: Fri May 14 00:24:36 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cc6e5ae net-misc/kea: Fix compiling with GCC 11 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: David Seifert gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/20798 Signed-off-by: Sam James gentoo.org> .../kea/files/kea-1.8.2-fix-cxx11-detection.patch | 50 ++++++++++++++++++++++ net-misc/kea/kea-1.8.2.ebuild | 5 ++- 2 files changed, 54 insertions(+), 1 deletion(-) diff --git a/net-misc/kea/files/kea-1.8.2-fix-cxx11-detection.patch b/net-misc/kea/files/kea-1.8.2-fix-cxx11-detection.patch new file mode 100644 index 00000000000..867561f2e7e --- /dev/null +++ b/net-misc/kea/files/kea-1.8.2-fix-cxx11-detection.patch @@ -0,0 +1,50 @@ +--- a/m4macros/ax_cpp11.m4 ++++ b/m4macros/ax_cpp11.m4 +@@ -182,6 +182,7 @@ + AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM( + [#include ++ #include + std::shared_ptr th;], + [th.reset(new std::thread([[]]() { return; })); + th->join();])], +--- a/src/bin/perfdhcp/Makefile.am ++++ b/src/bin/perfdhcp/Makefile.am +@@ -3,7 +3,6 @@ + AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib + AM_CPPFLAGS += -I$(top_srcdir)/src/bin -I$(top_builddir)/src/bin + AM_CPPFLAGS += $(BOOST_INCLUDES) +-AM_CPPFLAGS += -Werror + + AM_CXXFLAGS = $(KEA_CXXFLAGS) + +--- a/src/bin/perfdhcp/tests/Makefile.am ++++ b/src/bin/perfdhcp/tests/Makefile.am +@@ -4,7 +4,6 @@ + AM_CPPFLAGS += -I$(srcdir)/.. -I$(builddir)/.. + AM_CPPFLAGS += -DTEST_DATA_DIR=\"$(abs_srcdir)/testdata\" + AM_CPPFLAGS += $(BOOST_INCLUDES) +-AM_CPPFLAGS += -Werror + AM_CXXFLAGS = $(KEA_CXXFLAGS) + + if USE_STATIC_LINK +--- a/src/lib/database/backend_selector.cc ++++ b/src/lib/database/backend_selector.cc +@@ -7,6 +7,7 @@ + #include + #include + #include ++#include + #include + + using namespace isc::data; +--- a/src/lib/dhcpsrv/subnet_id.h ++++ b/src/lib/dhcpsrv/subnet_id.h +@@ -10,6 +10,7 @@ + #include + #include + #include ++#include + + namespace isc { + namespace dhcp { diff --git a/net-misc/kea/kea-1.8.2.ebuild b/net-misc/kea/kea-1.8.2.ebuild index ef18946d46a..8fa2128e5ae 100644 --- a/net-misc/kea/kea-1.8.2.ebuild +++ b/net-misc/kea/kea-1.8.2.ebuild @@ -13,6 +13,7 @@ if [[ ${PV} = 9999* ]] ; then inherit autotools git-r3 EGIT_REPO_URI="https://github.com/isc-projects/kea.git" else + inherit autotools SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz" [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \ @@ -39,9 +40,11 @@ BDEPEND="virtual/pkgconfig" S="${WORKDIR}/${MY_P}" +PATCHES=( "${FILESDIR}"/${PN}-1.8.2-fix-cxx11-detection.patch ) + src_prepare() { default - [[ ${PV} = *9999 ]] && eautoreconf + eautoreconf # Brand the version with Gentoo sed -i \ -e "/VERSION=/s:'$: Gentoo-${PR}':" \