[creox] - Patch for jack2

Orcan Ogetbil oget at fedoraproject.org
Wed Sep 8 18:18:49 UTC 2010


commit c8b63ca61edfcf43630c003c98823c8515d9058f
Author: Orcan Ogetbil <oget.fedora at gmail.com>
Date:   Wed Sep 8 14:18:55 2010 -0400

    - Patch for jack2

 creox-jack2.patch |   13 +++++++++++++
 creox.spec        |    9 ++++++++-
 2 files changed, 21 insertions(+), 1 deletions(-)
---
diff --git a/creox-jack2.patch b/creox-jack2.patch
new file mode 100644
index 0000000..19b8645
--- /dev/null
+++ b/creox-jack2.patch
@@ -0,0 +1,13 @@
+diff -rupN creox-0.2.2rc2.old/creox/croptionsdialog.cpp creox-0.2.2rc2/creox/croptionsdialog.cpp
+--- creox-0.2.2rc2.old/creox/croptionsdialog.cpp	2003-03-25 17:35:18.000000000 -0500
++++ creox-0.2.2rc2/creox/croptionsdialog.cpp	2010-09-08 14:09:53.000000000 -0400
+@@ -164,9 +164,6 @@ CrOptionsDialog::~CrOptionsDialog()
+ 
+ void CrOptionsDialog::loadSettings()
+ {
+-	// set error function to default one
+-	jack_set_error_function(jack_error_callback);
+-
+ 	std::vector<QString> inputPortsList,
+ 						 outputPortsList;
+ 
diff --git a/creox.spec b/creox.spec
index cfd4926..85e2545 100644
--- a/creox.spec
+++ b/creox.spec
@@ -4,7 +4,7 @@ Summary:       Real-time Sound Processor
 Name:          creox
 Group:         Applications/Multimedia
 Version:       0.2.2
-Release:       0.4.%{pre}%{?dist}
+Release:       0.5.%{pre}%{?dist}
 License:       GPLv2
 URL:           http://zyzstar.kosoru.com/?creox
 Source0:       http://zyzstar.kosoru.com/projects/creox/downloads/%{name}-%{version}%{?pre}.tar.bz2
@@ -14,6 +14,9 @@ Source0:       http://zyzstar.kosoru.com/projects/creox/downloads/%{name}-%{vers
 Source1:       %{name}.desktop
 # Fix "EBUSY is not declared" error
 Patch0:        %{name}-0.2.2rc2-errno-fix.patch
+# Don't call jack_set_error_function() from the private Jack API, as it is also
+# not necessary anyway, since the default is set to the same callback
+Patch1:        %{name}-jack2.patch
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root
 
 BuildRequires: desktop-file-utils
@@ -36,6 +39,7 @@ from the other JACK client.
 %prep
 %setup -q -n %{name}-%{version}%{?pre}
 %patch0 -p1 -b .ebusy
+%patch1 -p1 -b .jack2
 
 # Remove precompiled binaries:
 rm -f po/*.gmo
@@ -84,6 +88,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
 
 %changelog
+* Wed Aug 08 2010 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> 0.2.2-0.5.rc2
+- Patch for jack2
+
 * Wed Aug 05 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> 0.2.2-0.4.rc2
 - Update .desktop file
 


More information about the scm-commits mailing list