* [gentoo-commits] repo/gentoo:master commit in: app-editors/gummi/, app-editors/gummi/files/
@ 2025-05-22 21:48 Sam James
0 siblings, 0 replies; only message in thread
From: Sam James @ 2025-05-22 21:48 UTC (permalink / raw
To: gentoo-commits
commit: 2d6d3ce7d7719b484860896799b2c2fb465d86bc
Author: Christian Tietz <christian.tietz <AT> mailbox <DOT> org>
AuthorDate: Thu May 22 18:25:10 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu May 22 21:47:19 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d6d3ce7
app-editors/gummi: Fix build with gcc-15
Closes: https://bugs.gentoo.org/943803
Signed-off-by: Christian Tietz <christian.tietz <AT> mailbox.org>
Part-of: https://github.com/gentoo/gentoo/pull/42216
Closes: https://github.com/gentoo/gentoo/pull/42216
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-editors/gummi/files/gummi-0.8.3-gcc-15.patch | 24 ++++++++++++++++++++++++
app-editors/gummi/gummi-0.8.3.ebuild | 4 +++-
2 files changed, 27 insertions(+), 1 deletion(-)
diff --git a/app-editors/gummi/files/gummi-0.8.3-gcc-15.patch b/app-editors/gummi/files/gummi-0.8.3-gcc-15.patch
new file mode 100644
index 000000000000..3361aa98f0d6
--- /dev/null
+++ b/app-editors/gummi/files/gummi-0.8.3-gcc-15.patch
@@ -0,0 +1,24 @@
+https://bugs.gentoo.org/943803
+https://github.com/alexandervdm/gummi/issues/197
+--- a/src/configfile.c
++++ b/src/configfile.c
+@@ -117,7 +117,7 @@
+ else {
+ slog (L_ERROR, "%s\n", error->message);
+ }
+- config_load_defaults (key_file);
++ config_load_defaults ();
+ }
+
+ // replace old welcome texts if still active:
+--- a/src/template.h
++++ b/src/template.h
+@@ -52,7 +52,7 @@
+
+
+ GuTemplate* template_init (GtkBuilder* builder);
+-void template_setup ();
++void template_setup (GuTemplate* t);
+ void template_add_new_entry (GuTemplate* t);
+ void template_remove_entry (GuTemplate* t);
+ void template_create_file (GuTemplate* t, gchar* filename, gchar* text);
diff --git a/app-editors/gummi/gummi-0.8.3.ebuild b/app-editors/gummi/gummi-0.8.3.ebuild
index 30dd96701486..bc91ab6325bd 100644
--- a/app-editors/gummi/gummi-0.8.3.ebuild
+++ b/app-editors/gummi/gummi-0.8.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -32,6 +32,8 @@ BDEPEND="
virtual/pkgconfig
"
+PATCHES=( "${FILESDIR}"/${P}-gcc-15.patch )
+
pkg_postinst() {
xdg_desktop_database_update
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2025-05-22 21:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-22 21:48 [gentoo-commits] repo/gentoo:master commit in: app-editors/gummi/, app-editors/gummi/files/ Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox