summaryrefslogtreecommitdiff
path: root/pcr/sineshaper/gcc-4.3.patch
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-18 01:56:34 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-18 01:56:34 +0000
commit8185891e28635bdb83fdf4ba4391030912dae596 (patch)
tree66a946535bdd228514750233b2cc99dd1866ff64 /pcr/sineshaper/gcc-4.3.patch
parent60a11f87366fdfbd114cdc91ff813518858e5f8d (diff)
Tue Feb 18 01:56:27 UTC 2014
Diffstat (limited to 'pcr/sineshaper/gcc-4.3.patch')
-rw-r--r--pcr/sineshaper/gcc-4.3.patch57
1 files changed, 57 insertions, 0 deletions
diff --git a/pcr/sineshaper/gcc-4.3.patch b/pcr/sineshaper/gcc-4.3.patch
new file mode 100644
index 000000000..c62220608
--- /dev/null
+++ b/pcr/sineshaper/gcc-4.3.patch
@@ -0,0 +1,57 @@
+diff -aur sineshaper-0.4.2/src/common/dssiplugin.hpp sineshaper-0.4.2-patched/src/common/dssiplugin.hpp
+--- sineshaper-0.4.2/src/common/dssiplugin.hpp 2005-10-29 01:14:08.000000000 +0200
++++ sineshaper-0.4.2-patched/src/common/dssiplugin.hpp 2009-01-29 15:19:40.000000000 +0100
+@@ -25,6 +25,7 @@
+ #define DSSIPLUGIN_HPP
+
+ #include <unistd.h>
++#include <cstdlib>
+
+ #include <cstring>
+ #include <string>
+diff -aur sineshaper-0.4.2/src/common/dssiuiclient.hpp sineshaper-0.4.2-patched/src/common/dssiuiclient.hpp
+--- sineshaper-0.4.2/src/common/dssiuiclient.hpp 2005-10-29 01:14:08.000000000 +0200
++++ sineshaper-0.4.2-patched/src/common/dssiuiclient.hpp 2009-01-29 15:19:48.000000000 +0100
+@@ -99,13 +99,13 @@
+ // Host to UI
+ /** This signal is emitted when the host sends a new control value.
+ The parameters are the control port number and the new control value. */
+- signal<void, int, float> control_received;
++ sigc::signal<void, int, float> control_received;
+ /** Emitted when the host sends a program change. The parameters are the
+ bank and program numbers. */
+- signal<void, int, int> program_received;
++ sigc::signal<void, int, int> program_received;
+ /** Emitted when the host sends a configuration value. The parameters are
+ the configuration key and the configuration value. */
+- signal<void, const string, const string> configure_received;
++ sigc::signal<void, const string, const string> configure_received;
+ /** Emitted when the host wants the UI to be visible. A DSSI GUI should not
+ show any windows until this signal is emitted. */
+ Dispatcher show_received;
+@@ -134,7 +134,7 @@
+ void* allocate_shared_memory(int bytes);
+
+ /** Emitted when the plugin has attached to the shared memory segment. */
+- signal<void> plugin_attached;
++ sigc::signal<void> plugin_attached;
+
+ /** Returns true if the plugin has attached to the shared memory segment. */
+ bool plugin_has_attached();
+diff -aur sineshaper-0.4.2/src/sineshaper/sineshapergui.hpp sineshaper-0.4.2-patched/src/sineshaper/sineshapergui.hpp
+--- sineshaper-0.4.2/src/sineshaper/sineshapergui.hpp 2005-10-29 01:14:08.000000000 +0200
++++ sineshaper-0.4.2-patched/src/sineshaper/sineshapergui.hpp 2009-01-29 15:20:31.000000000 +0100
+@@ -31,11 +31,11 @@
+ void program_selected(int bank, int program);
+
+ /** This signal is emitted when the user selects a program in the GUI. */
+- signal<void, unsigned long, unsigned long> signal_select_program;
++ sigc::signal<void, unsigned long, unsigned long> signal_select_program;
+
+ /** This signal is emitted when the user has edited the programs and
+ the plugin needs to reload the file with the user presets. */
+- signal<void> signal_programs_changed;
++ sigc::signal<void> signal_programs_changed;
+
+ protected:
+