summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/lilypond/files/lilypond-2.12.3-gcc45.patch')
-rw-r--r--media-sound/lilypond/files/lilypond-2.12.3-gcc45.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/media-sound/lilypond/files/lilypond-2.12.3-gcc45.patch b/media-sound/lilypond/files/lilypond-2.12.3-gcc45.patch
new file mode 100644
index 000000000000..bd1886c0b563
--- /dev/null
+++ b/media-sound/lilypond/files/lilypond-2.12.3-gcc45.patch
@@ -0,0 +1,20 @@
+Fixing build with gcc-4.5
+
+http://bugs.gentoo.org/show_bug.cgi?id=317163
+
+Following patch was applied in 2.13 branch
+Thanks Patrick McCarty for information
+
+--- lily/spacing-spanner.cc
++++ lily/spacing-spanner.cc
+@@ -38,8 +38,8 @@
+ vsize end = binary_search (all, (Grob*) me->get_bound (RIGHT),
+ &Paper_column::less_than);
+
+- all = vector<Grob*>::vector<Grob*> (all.begin () + start,
+- all.begin () + end + 1);
++ all = vector<Grob*> (all.begin () + start,
++ all.begin () + end + 1);
+ return all;
+ }
+