gnu: lilypond: Fix build with Ghostscript 9.54.
* gnu/packages/music.scm (lilypond)[arguments]: Add build phase 'adjust-to-API-change.master
parent
000b34085b
commit
751b68981c
|
@ -1460,6 +1460,15 @@ and auto-mapping slices to MIDI note numbers.")
|
||||||
(("\"/bin/sh\"")
|
(("\"/bin/sh\"")
|
||||||
(string-append "\"" (which "sh") "\"")))
|
(string-append "\"" (which "sh") "\"")))
|
||||||
#t))
|
#t))
|
||||||
|
(add-after 'fix-path-references 'adjust-to-API-change
|
||||||
|
(lambda _
|
||||||
|
(substitute* '("Documentation/pictures/GNUmakefile"
|
||||||
|
"stepmake/stepmake/tex-rules.make")
|
||||||
|
((".*-c .setpdfwrite.*") ""))
|
||||||
|
(substitute* "scm/backend-library.scm"
|
||||||
|
(("\"-c.setpdfwrite\"") ""))
|
||||||
|
(substitute* "scm/framework-ps.scm"
|
||||||
|
(("\".setpdfwrite ") "\""))))
|
||||||
(add-before 'configure 'prepare-configuration
|
(add-before 'configure 'prepare-configuration
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "configure"
|
(substitute* "configure"
|
||||||
|
|
Reference in New Issue