pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/x11/gtksourceview3
Module Name: pkgsrc
Committed By: markd
Date: Wed Jun 19 20:37:45 UTC 2024
Modified Files:
pkgsrc/x11/gtksourceview3: distinfo
Added Files:
pkgsrc/x11/gtksourceview3/patches: patch-gtksourceview_gtksourceview.c
Log Message:
gtksourceview3: fix build with gcc14
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/x11/gtksourceview3/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/x11/gtksourceview3/patches/patch-gtksourceview_gtksourceview.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/x11/gtksourceview3/distinfo
diff -u pkgsrc/x11/gtksourceview3/distinfo:1.23 pkgsrc/x11/gtksourceview3/distinfo:1.24
--- pkgsrc/x11/gtksourceview3/distinfo:1.23 Tue Oct 26 11:33:53 2021
+++ pkgsrc/x11/gtksourceview3/distinfo Wed Jun 19 20:37:45 2024
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.23 2021/10/26 11:33:53 nia Exp $
+$NetBSD: distinfo,v 1.24 2024/06/19 20:37:45 markd Exp $
BLAKE2s (gtksourceview-3.24.11.tar.xz) = 07ca183bc2edfb71f06f439896678527fa534d7cf79882379441fc5a4b05a02d
SHA512 (gtksourceview-3.24.11.tar.xz) = 3490b34c6432a2e2ef292ad5bf982fdd22d33b1472434549b4ea8ddae0fc8808e128ef947e4d0dcb41e8de5e601b202f52532bbbbfa11d35050acfc42f9936b2
Size (gtksourceview-3.24.11.tar.xz) = 1438232 bytes
+SHA1 (patch-gtksourceview_gtksourceview.c) = ef101f8bc9b39191320116ae639e1a30615dda7c
Added files:
Index: pkgsrc/x11/gtksourceview3/patches/patch-gtksourceview_gtksourceview.c
diff -u /dev/null pkgsrc/x11/gtksourceview3/patches/patch-gtksourceview_gtksourceview.c:1.1
--- /dev/null Wed Jun 19 20:37:45 2024
+++ pkgsrc/x11/gtksourceview3/patches/patch-gtksourceview_gtksourceview.c Wed Jun 19 20:37:45 2024
@@ -0,0 +1,17 @@
+$NetBSD: patch-gtksourceview_gtksourceview.c,v 1.1 2024/06/19 20:37:45 markd Exp $
+
+gtksourceview.c: In function 'set_source_buffer':
+gtksourceview.c:1589:43: error: assignment to 'GtkSourceBuffer *' {aka 'struct _GtkSourceBuffer *'}
+ from incompatible pointer type 'GtkTextBuffer *' {aka 'struct _GtkTextBuffer *'} [-Wincompatible-pointer-types]
+
+--- gtksourceview/gtksourceview.c.orig 2019-03-21 21:55:02.000000000 +0000
++++ 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 = g_object_ref (GTK_SOURCE_BUFFER (buffer));
+
+ g_signal_connect (buffer,
+ "highlight-updated",
Home |
Main Index |
Thread Index |
Old Index