Subject: [PATCH] gnu: solfage: fix build.

From: Michael Rohleder <[email-masked]>
Date: Fri, 7 Aug 2020 20:03:26 +0200

* gnu/packages/music.scm (solfage): fix build (http://issues.guix.gnu.org/42301).
---
 gnu/packages/music.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index db2f1ff8d6..af65c40193 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -1361,6 +1361,9 @@ re-sequencer LV2 plugin.")
              (substitute* '("solfege/parsetree.py"
                             "solfege/presetup.py")
                (("#!/usr/bin/python") (string-append "#!" (which "python"))))
+             ;; fix build, see https://issues.guix.gnu.org/42301
+             (with-fluids ((%default-port-encoding "ISO-8859-1"))
+               (substitute* '("README") (("Malm.") "Malmoe")))
              #t))
          (add-before 'build 'add-sitedirs
            ;; .pth files are not automatically interpreted unless the
-- 
2.28.0