mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-23 21:17:11 -05:00
gnu: cpio: Fix build with GCC 10.
* gnu/packages/cpio.scm (cpio)[source](modules, snippet): New fields.
This commit is contained in:
parent
1345c611ba
commit
d69a480522
1 changed files with 9 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
|
||||
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
|
||||
;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -35,7 +36,14 @@ (define-public cpio
|
|||
version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32
|
||||
"0vbgnhkawdllgnkdn6zn1f56fczwk0518krakz2qbwhxmv2vvdga"))))
|
||||
"0vbgnhkawdllgnkdn6zn1f56fczwk0518krakz2qbwhxmv2vvdga"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(begin
|
||||
;; Remove superfluous declaration that trips GCC 10.
|
||||
(substitute* "src/global.c"
|
||||
(("char \\*program_name;")
|
||||
""))))))
|
||||
(build-system gnu-build-system)
|
||||
(home-page "https://www.gnu.org/software/cpio/")
|
||||
(synopsis "Manage cpio and tar file archives")
|
||||
|
|
Loading…
Reference in a new issue