[packages/gtksourceview3] Rel 4

arekm arekm at pld-linux.org
Sat Jul 19 22:14:13 CEST 2025


commit 6facf1f67ba2cf43283c848cc348fed749efbe7d
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Jul 19 22:14:09 2025 +0200

    Rel 4

 build.patch         | 11 +++++++++++
 gtksourceview3.spec |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/gtksourceview3.spec b/gtksourceview3.spec
index 53206b1..d463ea2 100644
--- a/gtksourceview3.spec
+++ b/gtksourceview3.spec
@@ -7,11 +7,12 @@ Summary:	Text widget that extends the standard GTK+ 3.x
 Summary(pl.UTF-8):	Widget tekstowy rozszerzający standardowy z GTK+ 3.x
 Name:		gtksourceview3
 Version:	3.24.11
-Release:	3
+Release:	4
 License:	LGPL v2+ (library), GPL v2+ (some language specs files)
 Group:		X11/Libraries
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/3.24/gtksourceview-%{version}.tar.xz
 # Source0-md5:	b748da426a7d64e1304f0c532b0f2a67
+Patch0:		build.patch
 URL:		https://wiki.gnome.org/Projects/GtkSourceView
 BuildRequires:	autoconf >= 2.64
 BuildRequires:	autoconf-archive >= 2015.09.25
@@ -120,6 +121,7 @@ API GtkSourceView dla języka Vala.
 
 %prep
 %setup -q -n gtksourceview-%{version}
+%patch -P0 -p1
 
 # force new version from autoconf-archive (original one uses non-POSIX ${V:N} syntax)
 %{__rm} m4/ax_compiler_flags_cflags.m4
diff --git a/build.patch b/build.patch
new file mode 100644
index 0000000..9cd2004
--- /dev/null
+++ b/build.patch
@@ -0,0 +1,11 @@
+--- gtksourceview-3.24.11/gtksourceview/gtksourceview.c~	2019-03-21 22:55:02.000000000 +0100
++++ gtksourceview-3.24.11/gtksourceview/gtksourceview.c	2025-07-19 22:12:05.184791972 +0200
+@@ -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",
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gtksourceview3.git/commitdiff/6facf1f67ba2cf43283c848cc348fed749efbe7d



More information about the pld-cvs-commit mailing list