guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: dvd+rw-tools: Fix building with address@hidden


From: Efraim Flashner
Subject: 01/02: gnu: dvd+rw-tools: Fix building with address@hidden
Date: Sat, 10 Nov 2018 12:59:50 -0500 (EST)

efraim pushed a commit to branch core-updates
in repository guix.

commit 2529c8381f622b78b02e53a4e95dd6ad65b1f8e4
Author: Efraim Flashner <address@hidden>
Date:   Sat Nov 10 19:57:26 2018 +0200

    gnu: dvd+rw-tools: Fix building with address@hidden
    
    * gnu/packages/cdrom.scm (dvd+rw-tools)[arguments]: Add custom phase to
    add missing import.
---
 gnu/packages/cdrom.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/cdrom.scm b/gnu/packages/cdrom.scm
index d8dc9ee..992c204 100644
--- a/gnu/packages/cdrom.scm
+++ b/gnu/packages/cdrom.scm
@@ -291,6 +291,15 @@ images.")
      `(#:tests? #f ; No tests.
        #:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'fix-glibc-compatability
+           (lambda* (#:key inputs #:allow-other-keys)
+             ;; We use sed --in-place because substitute* cannot handle the
+             ;; character encoding used by growisofs.c.
+             (invoke "sed" "-i" "-e"
+                     (string-append
+                       "s,<sys/stat.h>,"
+                       "<sys/stat.h>\\\n#include <sys/sysmacros.h>,")
+                     "growisofs.c")))
          (replace 'configure
            (lambda _ (setenv "prefix" (assoc-ref %outputs "out")) #t))
          (add-before 'build 'embed-mkisofs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]