diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2018-01-28 17:00:07 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2018-01-28 17:00:07 +0000 |
commit | 88196534e8abe942a53705f6b8b43fb59e29aa49 (patch) | |
tree | ee96cfe60e5259e7e8fdfde0f2333c69004c3ae8 /audio | |
parent | 4886fe0fac721b7f603163d12ccb9efd6f82e8ca (diff) | |
download | ports-88196534e8abe942a53705f6b8b43fb59e29aa49.tar.gz ports-88196534e8abe942a53705f6b8b43fb59e29aa49.zip |
Notes
Diffstat (limited to 'audio')
4 files changed, 70 insertions, 0 deletions
diff --git a/audio/ardour/files/patch-gtk2__ardour_editor.cc b/audio/ardour/files/patch-gtk2__ardour_editor.cc new file mode 100644 index 000000000000..3e94c245b6e0 --- /dev/null +++ b/audio/ardour/files/patch-gtk2__ardour_editor.cc @@ -0,0 +1,23 @@ +--- gtk2_ardour/editor.cc.orig 2012-03-16 14:33:28 UTC ++++ gtk2_ardour/editor.cc +@@ -803,16 +803,16 @@ Editor::Editor () + list<Glib::RefPtr<Gdk::Pixbuf> > window_icons; + Glib::RefPtr<Gdk::Pixbuf> icon; + +- if ((icon = ::get_icon ("ardour_icon_16px")) != 0) { ++ if ((icon = ::get_icon ("ardour_icon_16px"))) { + window_icons.push_back (icon); + } +- if ((icon = ::get_icon ("ardour_icon_22px")) != 0) { ++ if ((icon = ::get_icon ("ardour_icon_22px"))) { + window_icons.push_back (icon); + } +- if ((icon = ::get_icon ("ardour_icon_32px")) != 0) { ++ if ((icon = ::get_icon ("ardour_icon_32px"))) { + window_icons.push_back (icon); + } +- if ((icon = ::get_icon ("ardour_icon_48px")) != 0) { ++ if ((icon = ::get_icon ("ardour_icon_48px"))) { + window_icons.push_back (icon); + } + if (!window_icons.empty()) { diff --git a/audio/ardour/files/patch-gtk2__ardour_gain__meter.cc b/audio/ardour/files/patch-gtk2__ardour_gain__meter.cc new file mode 100644 index 000000000000..7bb7bfaf1932 --- /dev/null +++ b/audio/ardour/files/patch-gtk2__ardour_gain__meter.cc @@ -0,0 +1,25 @@ +--- gtk2_ardour/gain_meter.cc.orig 2010-04-20 17:28:37 UTC ++++ gtk2_ardour/gain_meter.cc +@@ -63,7 +63,7 @@ Glib::RefPtr<Gdk::Pixbuf> GainMeter::slider; + void + GainMeter::setup_slider_pix () + { +- if ((slider = ::get_icon ("fader_belt")) == 0) { ++ if (!(slider = ::get_icon ("fader_belt"))) { + throw failed_constructor(); + } + } +@@ -89,11 +89,11 @@ GainMeterBase::GainMeterBase (Session& s, + if (horizontal) { + gain_slider = manage (new HSliderController (pix, + &gain_adjustment, +- false)); ++ 0x0)); + } else { + gain_slider = manage (new VSliderController (pix, + &gain_adjustment, +- false)); ++ 0x0)); + } + + level_meter = new LevelMeter(_session); diff --git a/audio/ardour/files/patch-gtk2__ardour_route__time__axis.cc b/audio/ardour/files/patch-gtk2__ardour_route__time__axis.cc new file mode 100644 index 000000000000..184729941744 --- /dev/null +++ b/audio/ardour/files/patch-gtk2__ardour_route__time__axis.cc @@ -0,0 +1,11 @@ +--- gtk2_ardour/route_time_axis.cc.orig 2010-04-17 15:23:01 UTC ++++ gtk2_ardour/route_time_axis.cc +@@ -89,7 +89,7 @@ Glib::RefPtr<Gdk::Pixbuf> RouteTimeAxisView::slider; + void + RouteTimeAxisView::setup_slider_pix () + { +- if ((slider = ::get_icon ("fader_belt_h")) == 0) { ++ if (!(slider = ::get_icon ("fader_belt_h"))) { + throw failed_constructor (); + } + } diff --git a/audio/ardour/files/patch-libs_gtkmm2ext_fastmeter.cc b/audio/ardour/files/patch-libs_gtkmm2ext_fastmeter.cc new file mode 100644 index 000000000000..e123e4e24ed4 --- /dev/null +++ b/audio/ardour/files/patch-libs_gtkmm2ext_fastmeter.cc @@ -0,0 +1,11 @@ +--- libs/gtkmm2ext/fastmeter.cc.orig 2009-02-24 12:37:45 UTC ++++ libs/gtkmm2ext/fastmeter.cc +@@ -476,7 +476,7 @@ FastMeter::set (float lvl) + + Glib::RefPtr<Gdk::Window> win; + +- if ((win = get_window()) == 0) { ++ if (!(win = get_window())) { + queue_draw (); + return; + } |