commit:     47e1606ad081ec05f2626a931d2defcf1620d9e4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu May 11 02:58:52 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu May 11 03:15:47 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47e1606a

x11-misc/fluxter: build w/ c++14 (-Wregister)

Closes: https://bugs.gentoo.org/898882
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...luxter-0.1.0.ebuild => fluxter-0.1.0-r1.ebuild} | 26 +++++++++++++---------
 1 file changed, 16 insertions(+), 10 deletions(-)

diff --git a/x11-misc/fluxter/fluxter-0.1.0.ebuild 
b/x11-misc/fluxter/fluxter-0.1.0-r1.ebuild
similarity index 51%
rename from x11-misc/fluxter/fluxter-0.1.0.ebuild
rename to x11-misc/fluxter/fluxter-0.1.0-r1.ebuild
index 374d2e885186..a171049f9525 100644
--- a/x11-misc/fluxter/fluxter-0.1.0.ebuild
+++ b/x11-misc/fluxter/fluxter-0.1.0-r1.ebuild
@@ -1,23 +1,28 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-inherit autotools
+EAPI=8
 
-DESCRIPTION="workspace pager dockapp, particularly useful with the Fluxbox 
window manager"
+inherit autotools flag-o-matic
+
+DESCRIPTION="Workspace pager dockapp, particularly useful with the Fluxbox 
window manager"
 HOMEPAGE="http://www.isomedia.com/homes/stevencooper";
 SRC_URI="http://www.isomedia.com/homes/stevencooper/files/${P}.tar.gz";
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 ~hppa ppc x86"
-IUSE=""
 
-DEPEND="x11-libs/libX11
+DEPEND="
+       x11-libs/libX11
        x11-libs/libSM
-       x11-libs/libICE"
+       x11-libs/libICE
+"
+RDEPEND="${DEPEND}"
 
-PATCHES=( "${FILESDIR}/${P}-asneeded.patch" )
+PATCHES=(
+       "${FILESDIR}/${P}-asneeded.patch"
+)
 
 src_prepare() {
        default
@@ -25,6 +30,7 @@ src_prepare() {
 }
 
 src_configure() {
-       econf \
-               --datadir="${EPREFIX}"/usr/share/commonbox
+       append-cxxflags -std=c++14
+
+       econf --datadir="${EPREFIX}"/usr/share/commonbox
 }

Reply via email to