pkgsrc/audio/lmms/patches/patch-ab
rillig 4db6e1ae7b Imported lmms.
LMMS aims to be a free alternative to popular (but commercial and
closed- source) programs like FruityLoops, Cubase and Logic giving you
the ability of producing music with your computer by
creating/synthesizing sounds, arranging samples, using effects, playing
live with keyboard and much more...

LMMS combines the features of a sequencer-program (pattern-/channel-/
sample-/song-/effect-management) and those of powerful synthesizers and
samplers in a modern, user-friendly and easy to use graphical
user-interface.
2006-07-23 11:50:25 +00:00

23 lines
844 B
Text

$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"