aboutsummaryrefslogtreecommitdiff
path: root/multimedia/linuxsampler/gcc47.patch
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-17 21:32:57 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-17 23:34:14 -0500
commit595965b5a80f7b35356219d5b7cc522cfb465dfe (patch)
tree4742a3d758a5df6eeac3123821c91f1909639c77 /multimedia/linuxsampler/gcc47.patch
parentc074a97e37e799b84159af9eabfad87ffc0650d1 (diff)
multimedia/linuxsampler: Added a patch for gcc-4.7.x, cleanups.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'multimedia/linuxsampler/gcc47.patch')
-rw-r--r--multimedia/linuxsampler/gcc47.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/multimedia/linuxsampler/gcc47.patch b/multimedia/linuxsampler/gcc47.patch
new file mode 100644
index 000000000000..d021a01e0c9a
--- /dev/null
+++ b/multimedia/linuxsampler/gcc47.patch
@@ -0,0 +1,12 @@
+diff -Naur linuxsampler-1.0.0.orig/src/common/Pool.h linuxsampler-1.0.0/src/common/Pool.h
+--- linuxsampler-1.0.0.orig/src/common/Pool.h 2008-12-07 01:18:04.000000000 +0100
++++ linuxsampler-1.0.0/src/common/Pool.h 2012-09-17 15:27:17.580041864 +0200
+@@ -393,7 +393,7 @@
+ inline Iterator allocAppend() {
+ if (pPool->poolIsEmpty()) return RTListBase<T>::begin();
+ Iterator element = pPool->alloc();
+- append(element);
++ this->append(element);
+ #if CONFIG_DEVMODE
+ element.list = this;
+ #endif // CONFIG_DEVMODE