commit:     51564faa4dfefe84e7b9def184ab105823beaf88
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 15 01:57:21 2022 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Fri Apr 15 02:00:05 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51564faa

sys-devel/sparse: Depend on x11-libs/gtk+:3, not :2

Upstream commit 52ac1749 ("test-inspect: Detect gtk3 then gtk2 package")
in 2017 changed the default to GTK 3 and we didn't notice apparently.

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 sys-devel/sparse/metadata.xml                                    | 2 +-
 sys-devel/sparse/{sparse-0.6.4.ebuild => sparse-0.6.4-r1.ebuild} | 4 ++--
 sys-devel/sparse/sparse-9999.ebuild                              | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/sys-devel/sparse/metadata.xml b/sys-devel/sparse/metadata.xml
index aec196782c68..4eec8f82d259 100644
--- a/sys-devel/sparse/metadata.xml
+++ b/sys-devel/sparse/metadata.xml
@@ -10,7 +10,7 @@
                <name>Gentoo Toolchain Project</name>
        </maintainer>
        <use>
-               <flag name="gtk">Build the test-inspect utility (requires 
<pkg>x11-libs/gtk+</pkg> version 2)</flag>
+               <flag name="gtk">Build the test-inspect utility (requires 
<pkg>x11-libs/gtk+</pkg>:3)</flag>
                <flag name="llvm">Build the sparse-llvm utility</flag>
                <flag name="xml">Build the c2xml utility (requires 
<pkg>dev-libs/libxml2</pkg>)</flag>
        </use>

diff --git a/sys-devel/sparse/sparse-0.6.4.ebuild 
b/sys-devel/sparse/sparse-0.6.4-r1.ebuild
similarity index 95%
rename from sys-devel/sparse/sparse-0.6.4.ebuild
rename to sys-devel/sparse/sparse-0.6.4-r1.ebuild
index 6fbcc28e1552..a7c5b9dbc728 100644
--- a/sys-devel/sparse/sparse-0.6.4.ebuild
+++ b/sys-devel/sparse/sparse-0.6.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,7 +22,7 @@ SLOT="0"
 IUSE="gtk llvm sqlite test xml"
 RESTRICT="!test? ( test )"
 
-RDEPEND="gtk? ( x11-libs/gtk+:2 )
+RDEPEND="gtk? ( x11-libs/gtk+:3 )
        llvm? ( <sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):= )
        sqlite? ( dev-db/sqlite:= )
        xml? ( dev-libs/libxml2 )"

diff --git a/sys-devel/sparse/sparse-9999.ebuild 
b/sys-devel/sparse/sparse-9999.ebuild
index 6fbcc28e1552..a7c5b9dbc728 100644
--- a/sys-devel/sparse/sparse-9999.ebuild
+++ b/sys-devel/sparse/sparse-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,7 +22,7 @@ SLOT="0"
 IUSE="gtk llvm sqlite test xml"
 RESTRICT="!test? ( test )"
 
-RDEPEND="gtk? ( x11-libs/gtk+:2 )
+RDEPEND="gtk? ( x11-libs/gtk+:3 )
        llvm? ( <sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):= )
        sqlite? ( dev-db/sqlite:= )
        xml? ( dev-libs/libxml2 )"

Reply via email to