Bug#1075055: patch to fix build error on gcc-14

Robert Schöftner rs at unfoo.net
Fri Aug 2 09:29:26 BST 2024


-------------- next part --------------
Description: fix a build error on gcc-14 relating to implicit casts
 GCC 14 no longer allows implicit pointer casts, therefore add
 explicit cast to fix build error
 .
 gtksourceview3 (3.24.11-2) unstable; urgency=medium
 .
   * Release to unstable
Author: Robert Sch?ftner <rs at unfoo.net>

---
Bug-Debian: https://bugs.debian.org/1075055

--- gtksourceview3-3.24.11.orig/gtksourceview/gtksourceview.c
+++ gtksourceview3-3.24.11/gtksourceview/gtksourceview.c
@@ -1586,7 +1586,7 @@ set_source_buffer (GtkSourceView *view,
 	{
 		GtkSourceBufferInternal *buffer_internal;
 
-		view->priv->source_buffer = g_object_ref (buffer);
+		view->priv->source_buffer = (GtkSourceBuffer*) g_object_ref (buffer);
 
 		g_signal_connect (buffer,
 				  "highlight-updated",


More information about the pkg-gnome-maintainers mailing list