me
/
guix
Archived
1
0
Fork 0

gnu: lilypond: Fix build with Ghostscript 9.54.

* gnu/packages/music.scm (lilypond)[arguments]: Add build phase
'adjust-to-API-change.
master
Ricardo Wurmus 2021-10-21 21:53:46 +00:00
parent 000b34085b
commit 751b68981c
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 9 additions and 0 deletions

View File

@ -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"