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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6D711158087 for ; Mon, 20 Dec 2021 04:19:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A37612BC07A; Mon, 20 Dec 2021 04:19:06 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7AAE42BC07A for ; Mon, 20 Dec 2021 04:19:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3112634310B for ; Mon, 20 Dec 2021 04:19:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E1EE923E for ; Mon, 20 Dec 2021 04:19:02 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1639973918.463aa8be2d7639642d95f825b52da4ca6badb6db.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/, dev-util/bear/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/bear/bear-3.0.17.ebuild dev-util/bear/files/3.0.17-gcc11.patch X-VCS-Directories: dev-util/bear/ dev-util/bear/files/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: 463aa8be2d7639642d95f825b52da4ca6badb6db X-VCS-Branch: master Date: Mon, 20 Dec 2021 04:19:02 +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: 1e6760c0-8b0a-413b-9e55-4a8f07047d97 X-Archives-Hash: 26be7e944ad16d368e6144098dd3080c commit: 463aa8be2d7639642d95f825b52da4ca6badb6db Author: Georgy Yakovlev gentoo org> AuthorDate: Mon Dec 20 04:04:04 2021 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Mon Dec 20 04:18:38 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=463aa8be dev-util/bear: add libtool test dep and gcc11 patch Signed-off-by: Georgy Yakovlev gentoo.org> dev-util/bear/bear-3.0.17.ebuild | 3 ++ dev-util/bear/files/3.0.17-gcc11.patch | 52 ++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/dev-util/bear/bear-3.0.17.ebuild b/dev-util/bear/bear-3.0.17.ebuild index 94cca1494941..a4051dc0e04c 100644 --- a/dev-util/bear/bear-3.0.17.ebuild +++ b/dev-util/bear/bear-3.0.17.ebuild @@ -32,6 +32,7 @@ DEPEND="${RDEPEND} " BDEPEND="test? ( + sys-devel/libtool $(python_gen_any_dep ' dev-python/lit[${PYTHON_USEDEP}] ') @@ -41,6 +42,8 @@ RESTRICT="!test? ( test )" S="${WORKDIR}/${P^}" +PATCHES=( "${FILESDIR}/3.0.17-gcc11.patch" ) + pkg_setup() { use test && python-any-r1_pkg_setup } diff --git a/dev-util/bear/files/3.0.17-gcc11.patch b/dev-util/bear/files/3.0.17-gcc11.patch new file mode 100644 index 000000000000..cb52a7f36215 --- /dev/null +++ b/dev-util/bear/files/3.0.17-gcc11.patch @@ -0,0 +1,52 @@ +From ada467c3f4038abc3c3ac964a46ec0da0e8ed1c5 Mon Sep 17 00:00:00 2001 +From: shrkamat +Date: Sat, 11 Dec 2021 17:43:10 +0530 +Subject: [PATCH] Fix compile errors with g++ 11.02 (#434) + +Co-authored-by: Shrinivas Kamath +--- + source/citnames/source/semantic/Parsers.h | 1 + + source/libflags/include/libflags/Flags.h | 1 + + third_party/grpc/CMakeLists.txt | 5 +++++ + 3 files changed, 7 insertions(+) + +diff --git a/source/citnames/source/semantic/Parsers.h b/source/citnames/source/semantic/Parsers.h +index 7a4dc8f4..0ec003ee 100644 +--- a/source/citnames/source/semantic/Parsers.h ++++ b/source/citnames/source/semantic/Parsers.h +@@ -27,6 +27,7 @@ + #include + #include + #include ++#include + + #include + +diff --git a/source/libflags/include/libflags/Flags.h b/source/libflags/include/libflags/Flags.h +index 76f772df..d92fbae2 100644 +--- a/source/libflags/include/libflags/Flags.h ++++ b/source/libflags/include/libflags/Flags.h +@@ -28,6 +28,7 @@ + #include + #include + #include ++#include + + namespace flags { + +diff --git a/third_party/grpc/CMakeLists.txt b/third_party/grpc/CMakeLists.txt +index c8a7114b..792a0c6a 100644 +--- a/third_party/grpc/CMakeLists.txt ++++ b/third_party/grpc/CMakeLists.txt +@@ -46,6 +46,11 @@ else () + -DgRPC_BUILD_TESTS:BOOL=OFF + -DgRPC_BUILD_CSHARP_EXT:BOOL=OFF + -DCMAKE_INSTALL_PREFIX:PATH=${DEPENDENCIES_INSTALL_PREFIX}/grpc_dependency ++ -DCMAKE_CXX_STANDARD=${CMAKE_CXX_STANDARD} ++ -DCMAKE_CXX_STANDARD_REQUIRED=${CMAKE_CXX_STANDARD_REQUIRED} ++ -DCMAKE_CXX_EXTENSIONS=${CMAKE_CXX_EXTENSIONS} ++ -DCMAKE_CXX_FLAGS:STRING=${CMAKE_CXX_FLAGS} ++ -DCMAKE_CXX_COMPILER:STRING=${CMAKE_CXX_COMPILER} + ) + + include(GNUInstallDirs)