me
/
guix
Archived
1
0
Fork 0

gnu: mame: Update to 0.201.

* gnu/packages/emulators.scm (mame): Update to 0.201.
[arguments]: Remove unnecessary fix.
master
Nicolas Goaziou 2018-08-31 07:04:17 +02:00
parent 0c048c11a4
commit be4c63f484
No known key found for this signature in database
GPG Key ID: A834B9E080A93738
1 changed files with 2 additions and 13 deletions

View File

@ -1175,7 +1175,7 @@ play them on systems for which they were never designed!")
(define-public mame (define-public mame
(package (package
(name "mame") (name "mame")
(version "0.200") (version "0.201")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -1185,7 +1185,7 @@ play them on systems for which they were never designed!")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0ddw8635hdm21lgpf13k1vhfywy3460rwciv93vrqmpkq2dvpmib")) "00whiig4ld3d4fkl34q48vlf28ygvvp5g7fp0rb5n31ymhl4kajk"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
;; Remove bundled libraries. ;; Remove bundled libraries.
@ -1211,17 +1211,6 @@ play them on systems for which they were never designed!")
#:tests? #f ;no test in regular release #:tests? #f ;no test in regular release
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
;; Add missing include lines for "fmin" and "ceil" functions.
;; Reported upstream. Will be fixed in 0.201.
(add-after 'unpack 'add-missing-include
(lambda _
(substitute* "src/devices/cpu/mips/mips3.cpp"
(("#include \"ps2vu.h\"" all)
(string-append all "\n#include <cmath>")))
(substitute* "src/devices/cpu/mips/ps2vif1.cpp"
(("#include \"ps2vif1.h\"" all)
(string-append all "\n#include <cmath>")))
#t))
(delete 'configure) (delete 'configure)
(add-after 'build 'build-documentation (add-after 'build 'build-documentation
(lambda _ (invoke "make" "-C" "docs" "man" "info"))) (lambda _ (invoke "make" "-C" "docs" "man" "info")))