commit:     a415b9033d698432ff4cce123f774b5cfa57c303
Author:     Sophie Hamilton <gentoo-bugs <AT> theblob <DOT> org>
AuthorDate: Tue May 27 20:59:22 2025 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Tue May 27 21:00:42 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a415b903

dev-util/anjuta: Patch to fix building with GCC 14

Closes: https://bugs.gentoo.org/924928
Signed-off-by: Sophie Hamilton <gentoo-bugs <AT> theblob.org>
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 dev-util/anjuta/anjuta-3.34.0-r3.ebuild |  1 +
 dev-util/anjuta/files/anjuta-gcc.patch  | 12 ++++++++++++
 2 files changed, 13 insertions(+)

diff --git a/dev-util/anjuta/anjuta-3.34.0-r3.ebuild 
b/dev-util/anjuta/anjuta-3.34.0-r3.ebuild
index b1abc4b42bf5..bc0c405a859d 100644
--- a/dev-util/anjuta/anjuta-3.34.0-r3.ebuild
+++ b/dev-util/anjuta/anjuta-3.34.0-r3.ebuild
@@ -25,6 +25,7 @@ BDEPEND="virtual/pkgconfig"
 
 PATCHES=(
        "${FILESDIR}"/${PV}-minimal.patch
+       "${FILESDIR}"/${PN}-gcc.patch
 )
 
 src_configure() {

diff --git a/dev-util/anjuta/files/anjuta-gcc.patch 
b/dev-util/anjuta/files/anjuta-gcc.patch
new file mode 100644
index 000000000000..3c0a8875f91f
--- /dev/null
+++ b/dev-util/anjuta/files/anjuta-gcc.patch
@@ -0,0 +1,12 @@
+--- anjuta-3.34.0.bak/libanjuta/anjuta-dock.c
++++ anjuta-3.34.0/libanjuta/anjuta-dock.c
+@@ -39,8 +39,8 @@
+ {
+       GHashTable *panes;
+       GHashTable *dock_items;
+-      GtkWidget *command_bar;
+ 
++      AnjutaCommandBar* command_bar;
+       AnjutaDockPane* command_pane;
+ };
+ 

Reply via email to