[packages/libgda6] drop redundant code which does not make sense

atler atler at pld-linux.org
Thu Jul 31 14:33:35 CEST 2025


commit 1fb3d4bd6d67d064385bf79de57399e1da053554
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Jul 31 14:22:06 2025 +0200

    drop redundant code which does not make sense

 libgda6.spec |  2 ++
 types.patch  | 18 ++++++++++++++++++
 2 files changed, 20 insertions(+)
---
diff --git a/libgda6.spec b/libgda6.spec
index 3a8dede..7a35568 100644
--- a/libgda6.spec
+++ b/libgda6.spec
@@ -32,6 +32,7 @@ Source0:	https://download.gnome.org/sources/libgda/6.0/libgda-%{version}.tar.xz
 Patch0:		%{name}-web.patch
 Patch1:		%{name}-soname.patch
 Patch2:		meson0.61.patch
+Patch3:		types.patch
 URL:		https://www.gnome-db.org/
 %{?with_firebird:BuildRequires:	Firebird-devel}
 BuildRequires:	autoconf >= 2.68
@@ -393,6 +394,7 @@ Plik katalogu oraz ikony libgda dla Glade.
 %patch -P0 -p1
 %patch -P1 -p1
 %patch -P2 -p1
+%patch -P3 -p1
 
 %{__sed} -i -e '1s,/usr/bin/env python3,%{__python3},' \
 	libgda-report/RML/trml2html/trml2html.py \
diff --git a/types.patch b/types.patch
new file mode 100644
index 0000000..f3ca488
--- /dev/null
+++ b/types.patch
@@ -0,0 +1,18 @@
+--- libgda-6.0.0/tools/common/web-server.c.orig	2021-02-01 01:29:25.285824300 +0100
++++ libgda-6.0.0/tools/common/web-server.c	2025-07-31 14:10:13.173038550 +0200
+@@ -1927,7 +1927,6 @@
+ 		webserver->priv->terminals_list = g_slist_prepend (webserver->priv->terminals_list,
+ 								   console);
+ 		GTimeVal *lastused;
+-		lastused = t_context_get_last_time_used (console);
+ 		g_get_current_time (lastused);
+ 		if (!webserver->priv->term_timer)
+ 			webserver->priv->term_timer = g_timeout_add_seconds (5, (GSourceFunc) delete_consoles,
+@@ -1962,7 +1961,6 @@
+ 
+ 	/* create response */
+ 	GTimeVal *lastused;
+-	lastused = t_context_get_last_time_used (console);
+ 	g_get_current_time (lastused);
+ 	cmd = g_strstrip (cmd);
+ 	if (*cmd) {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libgda6.git/commitdiff/da92e8aaf34177a62c7be505fda86c41b5a6552e



More information about the pld-cvs-commit mailing list