mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-06 02:50:20 +01:00
gnu: lilypond: Fix build with Ghostscript 9.54.
* gnu/packages/music.scm (lilypond)[arguments]: Add build phase 'adjust-to-API-change.
This commit is contained in:
parent
000b34085b
commit
751b68981c
1 changed files with 9 additions and 0 deletions
|
@ -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"
|
||||||
|
|
Loading…
Add table
Reference in a new issue