Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=jackwip.git;a=commitdiff;h=b4cc403b2cd794fc6d3817779be169356e77314b

commit b4cc403b2cd794fc6d3817779be169356e77314b
Author: exceed <exceed.ced...@gmail.com>
Date:   Tue Apr 20 02:38:45 2010 +0200

amsynth-1.2.2-2-i686

* Rebuild with jack-0.118.0-1
* Added gcc45.patch

diff --git a/source/xmultimedia-extra/amsynth/FrugalBuild 
b/source/xmultimedia-extra/amsynth/FrugalBuild
index ade1e63..188703c 100644
--- a/source/xmultimedia-extra/amsynth/FrugalBuild
+++ b/source/xmultimedia-extra/amsynth/FrugalBuild
@@ -3,15 +3,17 @@

pkgname=amsynth
pkgver=1.2.2
-pkgrel=1
+pkgrel=2
archs=('i686' 'x86_64')
pkgdesc="A real-time, polyphonic, analogue-modelling software synthesizer"
_F_sourceforge_dirname="amsynthe"
_F_sourceforge_name="amSynth"
_F_cd_path="$_F_sourceforge_name-$pkgver"
groups=('xmultimedia-extra')
-depends=('gtkmm' 'jack' 'libsndfile' 'libstdc++' 'libxml2')
+depends=('gtkmm' 'jack>=0.118.0' 'libsndfile' 'libstdc++' 'libxml2')
Finclude sourceforge
-sha1sums=('3435c05be4a836666e7bf16ac44fee6def218c5d')
+source=(${sour...@]} gcc45.patch)
+sha1sums=('3435c05be4a836666e7bf16ac44fee6def218c5d' \
+          '08efb60ba0ec6fbf74266a1bfa3fe19c14575431')

# optimization OK
diff --git a/source/xmultimedia-extra/amsynth/gcc45.patch 
b/source/xmultimedia-extra/amsynth/gcc45.patch
new file mode 100644
index 0000000..8c1fc4c
--- /dev/null
+++ b/source/xmultimedia-extra/amsynth/gcc45.patch
@@ -0,0 +1,31 @@
+--- amSynth-1.2.2/src/GUI/Knob.cc.old  2009-07-12 18:40:37.000000000 +0200
++++ amSynth-1.2.2/src/GUI/Knob.cc      2010-04-20 02:31:46.914164080 +0200
+@@ -9,7 +9,7 @@
+ using namespace std;
+
+ Knob::Knob()
+-:     adj(Glib::RefPtr<Gtk::Adjustment>::RefPtr(new Gtk::Adjustment(0.0, 0.0, 
1.0, 0.01, 1.0, 0)))
++:     adj(new Gtk::Adjustment(0.0, 0.0, 1.0, 0.01, 1.0, 0))
+ ,     frame (0)
+ {
+       set_events (Gdk::BUTTON_PRESS_MASK | Gdk::BUTTON_RELEASE_MASK | 
Gdk::POINTER_MOTION_MASK);
+@@ -33,9 +33,8 @@
+ }
+
+ void
+-Knob::set_adjustment(Gtk::Adjustment* adjustment)
++Knob::set_adjustment(Gtk::Adjustment* adj)
+ {
+-      adj = Glib::RefPtr<Gtk::Adjustment>::RefPtr(adjustment);
+       adj->signal_value_changed().connect(mem_fun(*this, 
&Knob::on_adj_value_changed));
+       on_adj_value_changed();
+ }
+@@ -100,7 +99,7 @@
+ }
+
+ bool
+-Knob::on_button_release_event (GdkEventButton *ev)
++Knob::on_button_release_event (GdkEventButton *)
+ {
+       if(has_grab()) remove_modal_grab ();
+       return TRUE;
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to