commit: 4d2e787a7edebd71fb0b964233ee47365c1c5f76 Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> AuthorDate: Wed Feb 11 22:57:36 2026 +0000 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> CommitDate: Wed Feb 11 22:58:01 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d2e787a
dev-libs/libnop: build with c++17 Closes: https://bugs.gentoo.org/962930 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> dev-libs/libnop/files/libnop-2021.11.03-gtest.patch | 11 +++++++++++ dev-libs/libnop/libnop-2021.11.03.ebuild | 7 +++++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/dev-libs/libnop/files/libnop-2021.11.03-gtest.patch b/dev-libs/libnop/files/libnop-2021.11.03-gtest.patch new file mode 100644 index 000000000000..ff489ba49a0b --- /dev/null +++ b/dev-libs/libnop/files/libnop-2021.11.03-gtest.patch @@ -0,0 +1,11 @@ +--- a/Makefile 2026-02-11 23:54:49.279169646 +0100 ++++ b/Makefile 2026-02-11 23:55:01.243026080 +0100 +@@ -14,7 +14,7 @@ + GTEST_INCLUDE ?= $(GTEST_INSTALL)/include + + HOST_CFLAGS := -g -O2 -Wall -Werror -Wextra -Iinclude +-HOST_CXXFLAGS := -std=c++14 ++HOST_CXXFLAGS := -std=c++17 + HOST_LDFLAGS := + + ifeq ($(HOST_OS),Linux) diff --git a/dev-libs/libnop/libnop-2021.11.03.ebuild b/dev-libs/libnop/libnop-2021.11.03.ebuild index 64a1fbe04835..7442bcc6b789 100644 --- a/dev-libs/libnop/libnop-2021.11.03.ebuild +++ b/dev-libs/libnop/libnop-2021.11.03.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2025 Gentoo Authors +# Copyright 2022-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,7 +19,10 @@ IUSE="test" BDEPEND="test? ( dev-cpp/gtest )" RESTRICT="!test? ( test )" -PATCHES=( "${FILESDIR}"/${P}-libstdc++.patch ) +PATCHES=( + "${FILESDIR}"/${P}-libstdc++.patch + "${FILESDIR}"/${P}-gtest.patch +) src_compile() { use test && default
