slackbuilds_ponce/multimedia/linuxsampler/gcc47.patch
Matteo Bernardini 595965b5a8 multimedia/linuxsampler: Added a patch for gcc-4.7.x, cleanups.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
2012-09-17 23:34:14 -05:00

12 lines
598 B
Diff

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