gnu: freehdl: Fix build failure.
Fixes <https://bugs.gnu.org/41246>. Reported by tsmish <tsymsh@gmail.com>. * gnu/packages/engineering.scm (freehdl)[source](patches): New field. [native-inputs]: Remove GCC-5.
This commit is contained in:
parent
a4d76a514f
commit
1a044e3936
1 changed files with 14 additions and 2 deletions
|
@ -16,6 +16,7 @@
|
||||||
;;; Copyright © 2019 John Soo <jsoo1@asu.edu>
|
;;; Copyright © 2019 John Soo <jsoo1@asu.edu>
|
||||||
;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
|
;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
|
||||||
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
|
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
|
||||||
|
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -1691,7 +1692,19 @@ parallel computing platforms. It also supports serial execution.")
|
||||||
version ".tar.gz"))
|
version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"117dqs0d4pcgbzvr3jn5ppra7n7x2m6c161ywh6laa934pw7h2bz"))))
|
"117dqs0d4pcgbzvr3jn5ppra7n7x2m6c161ywh6laa934pw7h2bz"))
|
||||||
|
(patches
|
||||||
|
(list (origin
|
||||||
|
;; Fix build with GCC 7. Patch taken from Arch Linux:
|
||||||
|
;; https://git.archlinux.org/svntogit/community.git/tree/trunk?h=packages/freehdl
|
||||||
|
(method url-fetch)
|
||||||
|
(uri "https://git.archlinux.org/svntogit/community.git\
|
||||||
|
/plain/trunk/build-fix.patch?h=packages/freehdl\
|
||||||
|
&id=3bb90d64dfe6883e26083cd1fa96226d0d59175a")
|
||||||
|
(file-name "freehdl-c++-namespace.patch")
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"09df3c70rx81rnhlhry1wpdhji274nx9jb74rfprk06l4739zm08")))))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
|
@ -1767,7 +1780,6 @@ parallel computing platforms. It also supports serial execution.")
|
||||||
("libtool" ,libtool)))
|
("libtool" ,libtool)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config-native" ,pkg-config)
|
`(("pkg-config-native" ,pkg-config)
|
||||||
("gcc" ,gcc-5)
|
|
||||||
("libtool-native" ,libtool)))
|
("libtool-native" ,libtool)))
|
||||||
(home-page "http://www.freehdl.seul.org/")
|
(home-page "http://www.freehdl.seul.org/")
|
||||||
(synopsis "VHDL simulator")
|
(synopsis "VHDL simulator")
|
||||||
|
|
Reference in a new issue