public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/grsync] epel10: - workaround crash when adding new sessions (#385051)
@ 2026-11-01  4:19 Sebastian Vahl
  0 siblings, 0 replies; only message in thread
From: Sebastian Vahl @ 2026-11-01  4:19 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/grsync
Branch : epel10
Commit : 76dc1851750baf785e46050fb57222f2bb9c0eae
Author : Sebastian Vahl <svahl@fedoraproject.org>
Date   : 2008-02-08T22:58:11+00:00
Stats  : +18/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/grsync/c/76dc1851750baf785e46050fb57222f2bb9c0eae?branch=epel10

Log:
- workaround crash when adding new sessions (#385051)

---
diff --git a/grsync-0.6.1-fix-crash-when-adding-new-sessions.patch b/grsync-0.6.1-fix-crash-when-adding-new-sessions.patch
new file mode 100644
index 0000000..4838f94
--- /dev/null
+++ b/grsync-0.6.1-fix-crash-when-adding-new-sessions.patch
@@ -0,0 +1,11 @@
+diff -Naur grsync-0.6.1/src/callbacks.c grsync-0.6.1.new/src/callbacks.c
+--- grsync-0.6.1/src/callbacks.c	2007-11-09 18:10:42.000000000 +0100
++++ grsync-0.6.1.new/src/callbacks.c	2008-02-08 23:28:35.000000000 +0100
+@@ -892,6 +892,7 @@
+ 
+ 		save_settings((GtkWidget*) button, newses, NULL);
+ 		session_number++;
++		session_last = -1;
+ 		load_groups((GtkWidget*) button, newses);
+ 	}
+ 	gtk_widget_destroy(add);

diff --git a/grsync.spec b/grsync.spec
index 6f93236..7bd8478 100644
--- a/grsync.spec
+++ b/grsync.spec
@@ -1,12 +1,13 @@
 Name:           grsync
 Version:        0.6.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A Gtk+ GUI for rsync
 
 Group:          User Interface/Desktops
 License:        GPLv2
 URL:            http://www.opbyte.it/grsync/
 Source0:        http://www.opbyte.it/release/%{name}-%{version}.tar.gz
+Patch0:         grsync-0.6.1-fix-crash-when-adding-new-sessions.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  gtk2-devel desktop-file-utils gettext perl(XML::Parser)
@@ -23,6 +24,8 @@ to backup personal files to a networked drive.
 
 %prep
 %setup -q
+# https://bugzilla.redhat.com/show_bug.cgi?id=429440
+%patch0 -p1
 
 # some minor corrections for rpmlint
 %{__sed} -i 's/\r//' README
@@ -56,6 +59,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Feb 08 2008 Sebastian Vahl <fedora@deadbabylon.de> - 0.6.1-2
+- workaround crash when adding new sessions (#385051)
+
 * Wed Nov 28 2007 Sebastian Vahl <fedora@deadbabylon.de> - 0.6.1-1
 - New upstream version: 0.6.1
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-01  4:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-01  4:19 [rpms/grsync] epel10: - workaround crash when adding new sessions (#385051) Sebastian Vahl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox