commit:     0e5939bb727d8e45d0fb579a27241b6557ce2f51
Author:     NHOrus <jy6x2b32pie9 <AT> yahoo <DOT> com>
AuthorDate: Wed Jan 22 15:38:07 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb 10 08:48:48 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e5939bb

x11-themes/gtk-engines-rezlooks: update EAPI 7 -> 8, fix implicit declaration

Header missed one function that was used elsewhere, declaration is lifted
from definition.

Closes: https://bugs.gentoo.org/882241
Signed-off-by: NHOrus <jy6x2b32pie9 <AT> yahoo.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../gtk-engines-rezlooks-0.6-implicit-declaration.patch    | 14 ++++++++++++++
 ...ks-0.6-r1.ebuild => gtk-engines-rezlooks-0.6-r2.ebuild} | 12 ++++++------
 2 files changed, 20 insertions(+), 6 deletions(-)

diff --git 
a/x11-themes/gtk-engines-rezlooks/files/gtk-engines-rezlooks-0.6-implicit-declaration.patch
 
b/x11-themes/gtk-engines-rezlooks/files/gtk-engines-rezlooks-0.6-implicit-declaration.patch
new file mode 100644
index 000000000000..595531740ab4
--- /dev/null
+++ 
b/x11-themes/gtk-engines-rezlooks/files/gtk-engines-rezlooks-0.6-implicit-declaration.patch
@@ -0,0 +1,14 @@
+https://bugs.gentoo.org/882241
+Add missing declaration to header
+--- a/src/rezlooks_draw.h
++++ b/src/rezlooks_draw.h
+@@ -149,5 +149,9 @@
+                                        const ResizeGripParameters      *grip,
+                                        int x, int y, int width, int height);
+ 
++void rezlooks_draw_menubar_button   (cairo_t *cr,
++                                       const RezlooksColors         *colors,
++                                       const WidgetParameters       *params,
++                                       int x, int y, int width, int height);
+ 
+ #endif /* REZLOOKS_DRAW_H */

diff --git a/x11-themes/gtk-engines-rezlooks/gtk-engines-rezlooks-0.6-r1.ebuild 
b/x11-themes/gtk-engines-rezlooks/gtk-engines-rezlooks-0.6-r2.ebuild
similarity index 82%
rename from x11-themes/gtk-engines-rezlooks/gtk-engines-rezlooks-0.6-r1.ebuild
rename to x11-themes/gtk-engines-rezlooks/gtk-engines-rezlooks-0.6-r2.ebuild
index f4fa3e9dd9f6..6d3b74b1a09a 100644
--- a/x11-themes/gtk-engines-rezlooks/gtk-engines-rezlooks-0.6-r1.ebuild
+++ b/x11-themes/gtk-engines-rezlooks/gtk-engines-rezlooks-0.6-r2.ebuild
@@ -1,13 +1,14 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit autotools
 
 DESCRIPTION="Rezlooks GTK+ Engine"
 HOMEPAGE="https://www.gnome-look.org/content/show.php?content=39179";
 SRC_URI="https://www.gnome-look.org/content/files/39179-rezlooks-${PV}.tar.gz";
+S="${WORKDIR}"/rezlooks-${PV}
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -17,11 +18,10 @@ RDEPEND="x11-libs/gtk+:2"
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"
 
-S="${WORKDIR}"/rezlooks-${PV}
-
 PATCHES=(
-       "${FILESDIR}"/${PN}-0.6-glib-single-include.patch
-       "${FILESDIR}"/${PN}-0.6-slibtool-sqrt-math.patch
+       "${FILESDIR}"/${P}-glib-single-include.patch
+       "${FILESDIR}"/${P}-slibtool-sqrt-math.patch
+       "${FILESDIR}"/${P}-implicit-declaration.patch
 )
 
 src_prepare() {

Reply via email to