rpms/gmyth/devel gmyth_file_transfer-missing-context-unlock-on-error.diff, NONE, 1.1 gmyth.spec, 1.1, 1.2

Bastien Nocera (hadess) fedora-extras-commits at redhat.com
Tue Oct 9 21:56:26 UTC 2007


Author: hadess

Update of /cvs/pkgs/rpms/gmyth/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20352

Modified Files:
	gmyth.spec 
Added Files:
	gmyth_file_transfer-missing-context-unlock-on-error.diff 
Log Message:
* Tue Oct 09 2007 - Bastien Nocera <bnocera at redhat.com> - 0.4-5
- Add patch from upstream to avoid crashing when the port isn't
  defined (and the default doesn't work) (GNOME #483748)


gmyth_file_transfer-missing-context-unlock-on-error.diff:

--- NEW FILE gmyth_file_transfer-missing-context-unlock-on-error.diff ---
--- gmyth/src/gmyth_file_transfer.c	2007-08-22 13:46:53.000000000 +0100
+++ gmyth-patched/src/gmyth_file_transfer.c	2007-10-08 16:21:37.000000000 +0100
@@ -381,6 +381,7 @@
                                          backend_info->hostname,
                                          backend_info->port, TRUE)) {
 
+        _control_release_context(transfer);
         g_object_unref(priv->control_sock);
         priv->control_sock = NULL;
         return FALSE;


Index: gmyth.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gmyth/devel/gmyth.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gmyth.spec	21 Sep 2007 17:31:01 -0000	1.1
+++ gmyth.spec	9 Oct 2007 21:55:54 -0000	1.2
@@ -1,11 +1,13 @@
 Summary: MythTV remote access libraries
 Name: gmyth
 Version: 0.4
-Release: 4%{?dist}
+Release: 5%{?dist}
 License: LGPLv2+
 Group: System Environment/Libraries
 Source0: http://downloads.sourceforge.net/%{name}/%{name}_%{version}.tar.gz
 Source1: COPYING.LGPL
+# http://bugzilla.gnome.org/show_bug.cgi?id=483748
+Patch1: gmyth_file_transfer-missing-context-unlock-on-error.diff
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 URL: http://gmyth.sf.net
 BuildRequires: mysql-devel curl-devel libxml2-devel glib2-devel
@@ -30,6 +32,7 @@
 # files and the project page says LGPL, see:
 # http://sourceforge.net/tracker/index.php?func=detail&aid=1790620&group_id=177106&atid=879914
 cp -a %{SOURCE1} .
+%patch1 -p1 -b .not-port-crasher
 
 %build
 %configure
@@ -62,6 +65,10 @@
 %{_libdir}/pkgconfig/*.pc
 
 %changelog
+* Tue Oct 09 2007 - Bastien Nocera <bnocera at redhat.com> - 0.4-5
+- Add patch from upstream to avoid crashing when the port isn't
+  defined (and the default doesn't work) (GNOME #483748)
+
 * Fri Sep 21 2007 - Bastien Nocera <bnocera at redhat.com> - 0.4-4
 - Add a dist flag to the release
 




More information about the fedora-extras-commits mailing list