commit:     ce82ceefca4853b9b31284bd331fc6affe9c49e6
Author:     Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Fri May 14 20:59:53 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Jun  3 12:32:59 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce82ceef

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 <gentoo <AT> tastytea.de>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 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 9a43ae1ded1..f8cd87157bf 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)
 }

Reply via email to