commit:     34fdbfd61fc90fc9e043f5170750e900b77f3f4d
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Tue Dec  9 16:30:05 2025 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Dec  9 16:30:20 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34fdbfd6

media-libs/gegl: Add patch to fix implicit declaration

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

 .../gegl-0.4.64-Fix-implicit-declaration.patch     | 24 ++++++++++++++++++++++
 media-libs/gegl/gegl-0.4.64-r1.ebuild              |  1 +
 2 files changed, 25 insertions(+)

diff --git a/media-libs/gegl/files/gegl-0.4.64-Fix-implicit-declaration.patch 
b/media-libs/gegl/files/gegl-0.4.64-Fix-implicit-declaration.patch
new file mode 100644
index 000000000000..b124c6825e75
--- /dev/null
+++ b/media-libs/gegl/files/gegl-0.4.64-Fix-implicit-declaration.patch
@@ -0,0 +1,24 @@
+From a320f639952d2beee994ab5da96aa925e1823e77 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jeremy=20B=C3=ADcha?= <[email protected]>
+Date: Mon, 6 Oct 2025 23:17:33 -0400
+Subject: [PATCH] gegl-tester: Fix implicit declaration
+
+---
+ tools/gegl-tester.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git ./tools/gegl-tester.c ./tools/gegl-tester.c
+index 59aaf8379..9379442f1 100644
+--- ./tools/gegl-tester.c
++++ ./tools/gegl-tester.c
+@@ -22,6 +22,7 @@
+ #include <gegl.h>
+ #include <gegl-plugin.h>
+ #include <glib.h>
++#include <glib/gprintf.h>
+ #include <gio/gio.h>
+ 
+ //#define MAX_DIFFERENCE_THRESHOLD 0.5  // not visible
+-- 
+2.51.2
+

diff --git a/media-libs/gegl/gegl-0.4.64-r1.ebuild 
b/media-libs/gegl/gegl-0.4.64-r1.ebuild
index b30c1c90e0e7..253c420b8a6a 100644
--- a/media-libs/gegl/gegl-0.4.64-r1.ebuild
+++ b/media-libs/gegl/gegl-0.4.64-r1.ebuild
@@ -78,6 +78,7 @@ DOCS=( AUTHORS docs/ChangeLog docs/NEWS.adoc )
 
 PATCHES=(
        "${FILESDIR}"/gegl-0.4.64-system-libnsgif.patch
+       "${FILESDIR}"/gegl-0.4.64-Fix-implicit-declaration.patch
 )
 
 pkg_pretend() {

Reply via email to