guix-commits
[Top][All Lists]
Advanced

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

branch wip-riscv updated: gnu: cdrkit-libre: Fix building with gcc-10.


From: guix-commits
Subject: branch wip-riscv updated: gnu: cdrkit-libre: Fix building with gcc-10.
Date: Thu, 26 Aug 2021 10:42:01 -0400

This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch wip-riscv
in repository guix.

The following commit(s) were added to refs/heads/wip-riscv by this push:
     new a81e3e1  gnu: cdrkit-libre: Fix building with gcc-10.
a81e3e1 is described below

commit a81e3e1e90ff6e994656887dd0863431c176ee6d
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Aug 26 17:39:50 2021 +0300

    gnu: cdrkit-libre: Fix building with gcc-10.
    
    * gnu/packages/cdrom.scm (cdrkit-libre)[source]: Add snippet to fix
    building with gcc-10.
---
 gnu/packages/cdrom.scm | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/cdrom.scm b/gnu/packages/cdrom.scm
index de72cc0..6c3873a 100644
--- a/gnu/packages/cdrom.scm
+++ b/gnu/packages/cdrom.scm
@@ -3,7 +3,7 @@
 ;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
 ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
 ;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
-;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Efraim Flashner 
<efraim@flashner.co.il>
+;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner 
<efraim@flashner.co.il>
 ;;; Copyright © 2016 Alex Kost <alezost@gmail.com>
 ;;; Copyright © 2016 Marius Bakke <mbakke@fastmail.com>
 ;;; Copyright © 2017 John Darrington <jmd@gnu.org>
@@ -925,7 +925,14 @@ Supported extensions to ISO 9660 are Rock Ridge, Joliet, 
AAIP, zisofs.")
                     version ".tar.gz"))
               (sha256
                (base32
-                "0g2zyzb56czh429qy87lvaddzjnlcq8c616ddxsmsshz3clhyzrh"))))
+                "0g2zyzb56czh429qy87lvaddzjnlcq8c616ddxsmsshz3clhyzrh"))
+              (modules '((guix build utils)))
+              (snippet
+                #~(begin
+                    ;; Fix building with gcc-10.
+                    (substitute* "genisoimage/genisoimage.h"
+                      (("char\t\t\\*outfile")
+                       "extern char\t*outfile"))))))
     (build-system cmake-build-system)
     (inputs
      `(("bzip2" ,bzip2)



reply via email to

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