From ce82ceefca4853b9b31284bd331fc6affe9c49e6 Mon Sep 17 00:00:00 2001 From: "Ronny (tastytea) Gutbrod" Date: Fri, 14 May 2021 22:59:53 +0200 Subject: [PATCH] x11-misc/fbpager: Set C++ standard to 14. Reported upstream: https://sourceforge.net/p/fluxbox/bugs/1188/ Closes: https://bugs.gentoo.org/786690 Signed-off-by: Ronny (tastytea) Gutbrod Signed-off-by: Joonas Niilola --- x11-misc/fbpager/fbpager-20090221-r1.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/x11-misc/fbpager/fbpager-20090221-r1.ebuild b/x11-misc/fbpager/fbpager-20090221-r1.ebuild index 9a43ae1ded1a8..f8cd87157bf55 100644 --- a/x11-misc/fbpager/fbpager-20090221-r1.ebuild +++ b/x11-misc/fbpager/fbpager-20090221-r1.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 +inherit flag-o-matic + DESCRIPTION="A Pager for fluxbox" HOMEPAGE="http://git.fluxbox.org/fbpager.git/" SRC_URI="mirror://gentoo/${P}.tar.bz2" @@ -16,6 +18,12 @@ DEPEND="x11-libs/libX11 xrender? ( x11-libs/libXrender )" RDEPEND="${DEPEND}" +src_prepare() { + append-cxxflags "-std=c++14" + + default +} + src_configure() { econf $(use_enable xrender) }