summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/rosegarden/files/rosegarden-13.10-segfault_at_export_to_lilypond.patch')
-rw-r--r--media-sound/rosegarden/files/rosegarden-13.10-segfault_at_export_to_lilypond.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/media-sound/rosegarden/files/rosegarden-13.10-segfault_at_export_to_lilypond.patch b/media-sound/rosegarden/files/rosegarden-13.10-segfault_at_export_to_lilypond.patch
deleted file mode 100644
index 5efa65258aa7..000000000000
--- a/media-sound/rosegarden/files/rosegarden-13.10-segfault_at_export_to_lilypond.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-Index: src/document/io/LilyPondExporter.cpp
-===================================================================
---- src/document/io/LilyPondExporter.cpp (revision 13602)
-+++ src/document/io/LilyPondExporter.cpp (revision 13603)
-@@ -706,13 +706,18 @@
- std::string header = protectIllegalChars(metadata.get<String>(property));
- if (property == headerCopyright) {
- // replace a (c) or (C) with a real Copyright symbol
-- int posCpy = header.find("c");
-- if (!posCpy) posCpy = header.find("C");
-- if (posCpy) {
-- std::string leftOfCpy = header.substr(0, posCpy - 1);
-- std::string rightOfCpy = header.substr(posCpy + 2);
-+ size_t posCpy = header.find("(c)");
-+ if (posCpy == std::string::npos) posCpy = header.find("(C)");
-+ if (posCpy != std::string::npos) {
-+ std::string leftOfCpy = header.substr(0, posCpy);
-+ std::string rightOfCpy = header.substr(posCpy + 3);
- str << indent(col) << property << " = \\markup { \"" << leftOfCpy << "\""
- << "\\char ##x00A9" << "\"" << rightOfCpy << "\" }" << std::endl;
-+ } else {
-+ if (header != "") {
-+ str << indent(col) << property << " = \""
-+ << header << "\"" << std::endl;
-+ }
- }
- } else if (header != "") {
- str << indent(col) << property << " = \"" << header << "\"" << std::endl;