diff options
Diffstat (limited to 'audio/lmms/patches/patch-ab')
-rw-r--r-- | audio/lmms/patches/patch-ab | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/audio/lmms/patches/patch-ab b/audio/lmms/patches/patch-ab new file mode 100644 index 00000000000..f66fb27197f --- /dev/null +++ b/audio/lmms/patches/patch-ab @@ -0,0 +1,23 @@ +$NetBSD: patch-ab,v 1.1.1.1 2006/07/23 11:50:25 rillig Exp $ + +--- plugins/vibed/vibrating_string.cpp.orig 2006-07-23 12:20:50.000000000 +0200 ++++ plugins/vibed/vibrating_string.cpp 2006-07-23 13:07:47.000000000 +0200 +@@ -23,6 +23,18 @@ + */ + #include <math.h> + ++/* These two headers need to be included very early to work around a ++ * parse error in g++-3.3.3: ++ * ++ * g++/bits/stl_pair.h: In function `bool std::operator<(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)': ++ * g++/bits/stl_pair.h:103: error: parse error before `)' token ++ * ++ * qt3/include/qpair.h: In function `bool operator<(const QPair<T1, T2>&, const QPair<T1, T2>&)': ++ * qt3/include/qpair.h:80: error: parse error before `)' token ++ */ ++#include <utility> ++#include <qpair.h> ++ + #include "vibrating_string.h" + #include "templates.h" + #include "interpolation.h" |