media-sound/lilypond: fixed bug causing lilypond does not compile (programming_error...
authorMiroslav Šulc <fordfrog@gentoo.org>
Sat, 17 Feb 2018 11:59:53 +0000 (12:59 +0100)
committerMiroslav Šulc <fordfrog@gentoo.org>
Sat, 17 Feb 2018 11:59:53 +0000 (12:59 +0100)
Package-Manager: Portage-2.3.24, Repoman-2.3.6

media-sound/lilypond/files/lilypond-9999-programming_error.patch [new file with mode: 0644]
media-sound/lilypond/lilypond-9999.ebuild

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 (file)
index 0000000..f2b8516
--- /dev/null
@@ -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
+ }
+ 
index 27bfc06997d65a69e68ea15591b1ff969ef97203..e24a72ba576e95cde3b0eb2e211503c223df28bf 100644 (file)
@@ -22,6 +22,7 @@ SLOT="0"
 LANGS=" ca cs da de el eo es fi fr it ja nl ru sv tr uk vi zh_TW"
 IUSE="debug emacs guile2 profile vim-syntax"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+PATCHES=(${FILESDIR}/$P-programming_error.patch)
 
 RDEPEND=">=app-text/ghostscript-gpl-8.15
        >=dev-scheme/guile-1.8.2:12[deprecated,regex]