summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2018-02-17 12:59:53 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2018-02-17 12:59:53 +0100
commitcb700cf3a8b38490fc2a9e9368b8720045a2ea81 (patch)
treec1429af7f9f5b4b22a9a6e887305b89e2f401b7f /media-sound/lilypond/files/lilypond-9999-programming_error.patch
parentnet-analyzer/scapy: Fix distutils-r1 usage, drop eutils. (diff)
downloadgentoo-cb700cf3a8b38490fc2a9e9368b8720045a2ea81.tar.gz
gentoo-cb700cf3a8b38490fc2a9e9368b8720045a2ea81.tar.bz2
gentoo-cb700cf3a8b38490fc2a9e9368b8720045a2ea81.zip
media-sound/lilypond: fixed bug causing lilypond does not compile (programming_error does not return value)
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'media-sound/lilypond/files/lilypond-9999-programming_error.patch')
-rw-r--r--media-sound/lilypond/files/lilypond-9999-programming_error.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/media-sound/lilypond/files/lilypond-9999-programming_error.patch b/media-sound/lilypond/files/lilypond-9999-programming_error.patch
new file mode 100644
index 00000000000..f2b85164a6e
--- /dev/null
+++ b/media-sound/lilypond/files/lilypond-9999-programming_error.patch
@@ -0,0 +1,13 @@
+diff --git a/lily/general-scheme.cc b/lily/general-scheme.cc
+index d25e6c9ef8..2fd2e4a4fa 100644
+--- a/lily/general-scheme.cc
++++ b/lily/general-scheme.cc
+@@ -275,7 +275,7 @@ LY_DEFINE (ly_protects, "ly:protects",
+ #if SCM_MAJOR_VERSION < 2 || SCM_MAJOR_VERSION == 2 && SCM_MINOR_VERSION < 1
+ return scm_protects;
+ #else
+- return programming_error ("ly:protects is not supported in Guile 2.1");
++ programming_error ("ly:protects is not supported in Guile 2.1");
+ #endif
+ }
+