rpms/sweep/F-10 sweep-0.9.3-multithread.patch, NONE, 1.1 sweep.spec, 1.7, 1.8

Gérard Milmeister gemi at fedoraproject.org
Sun Mar 1 14:45:32 UTC 2009


Author: gemi

Update of /cvs/pkgs/rpms/sweep/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11570/F-10

Modified Files:
	sweep.spec 
Added Files:
	sweep-0.9.3-multithread.patch 
Log Message:
fix for crash while saving

sweep-0.9.3-multithread.patch:

--- NEW FILE sweep-0.9.3-multithread.patch ---
diff -up sweep-0.9.3/src/main.c.multithread sweep-0.9.3/src/main.c
--- sweep-0.9.3/src/main.c.multithread	2009-03-01 15:34:00.000000000 +0100
+++ sweep-0.9.3/src/main.c	2009-03-01 15:34:22.000000000 +0100
@@ -138,6 +138,7 @@ main (int argc, char *argv[])
 #endif
 #endif
 
+  XInitThreads();
   gtk_init (&argc, &argv);
 
 #ifdef HAVE_PUTENV


Index: sweep.spec
===================================================================
RCS file: /cvs/pkgs/rpms/sweep/F-10/sweep.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- sweep.spec	28 Feb 2009 14:08:45 -0000	1.7
+++ sweep.spec	1 Mar 2009 14:45:02 -0000	1.8
@@ -1,12 +1,13 @@
 Name:           sweep
 Version:        0.9.3
-Release:        2%{?dist}
+Release:        4%{?dist}
 Summary:        An audio editor and live playback tool
 
 Group:          Applications/Multimedia
 License:        GPLv2+
 URL:            http://www.metadecks.org/software/sweep/index.html
 Source:		http://puzzle.dl.sourceforge.net/sourceforge/sweep/sweep-%{version}.tar.gz
+Patch0:         sweep-0.9.3-multithread.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:	desktop-file-utils
 BuildRequires:	libogg-devel
@@ -40,6 +41,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .multithread
 # fix for wrongly set plugin dir on 64-bit
 sed -i 's/sweep_plugin_dir=.*/sweep_plugin_dir="$PACKAGE_PLUGIN_DIR"/' configure
 
@@ -119,7 +121,10 @@
 
 
 %changelog
-* Sat Feb 28 2009 Gerard Milmeister <gemi at bluewin.ch> - 0.9.3-2
+* Sun Mar  1 2009 Gerard Milmeister <gemi at bluewin.ch> - 0.9.3-4
+- fix for crash while saving
+
+* Sat Feb 28 2009 Gerard Milmeister <gemi at bluewin.ch> - 0.9.3-3
 - fix for plugins on 64-bit platforms
 - really enable alsa
 




More information about the fedora-extras-commits mailing list