From 59ca1a557374ce1e1e6b5386393d93eee95e741f Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Sun, 24 Nov 2024 04:17:17 -0500 Subject: [PATCH] x11-misc/devilspie: pass -std=gnu17 for gcc15 May be an easy fix, but there's been no releases since 2012 and if there's been commits I don't know where they're happening. It's not worth keeping a (probably) permanent patch over. devilspie2 (w/ a semi-active different upstream) can act as a replacement if need be, albeit this one uses different configuration that some may prefer and no reason to last-rite over trivial issues. Closes: https://bugs.gentoo.org/944096 Signed-off-by: Ionen Wolkens --- x11-misc/devilspie/devilspie-0.23-r2.ebuild | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/x11-misc/devilspie/devilspie-0.23-r2.ebuild b/x11-misc/devilspie/devilspie-0.23-r2.ebuild index 985daf2b245fd..60f3341f146ff 100644 --- a/x11-misc/devilspie/devilspie-0.23-r2.ebuild +++ b/x11-misc/devilspie/devilspie-0.23-r2.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 +inherit flag-o-matic + DESCRIPTION="Window matching utility similar to Sawfish's Matched Windows" HOMEPAGE="https://www.burtonini.com/blog/tag/devilspie.html" SRC_URI="https://www.burtonini.com/computing/${P}.tar.xz" @@ -15,16 +17,21 @@ RDEPEND=" dev-libs/glib:2 x11-libs/gtk+:3[X] x11-libs/libX11 - x11-libs/libwnck:3" + x11-libs/libwnck:3 +" DEPEND=" ${RDEPEND} - x11-base/xorg-proto" + x11-base/xorg-proto +" BDEPEND=" dev-util/intltool - virtual/pkgconfig" + virtual/pkgconfig +" src_prepare() { default sed -i "/doc\//s@devilspie..@${PF}/@" devilspie.1 || die + + append-cflags -std=gnu17 #944096 }