gnu: usbutils: Update to 013.

* gnu/packages/linux.scm (usbutils): Update to 013.
[arguments]: Tweak ‘patch-bootstrap-scripts’ phase.
This commit is contained in:
Tobias Geerinckx-Rice 2020-11-01 17:22:55 +01:00
parent 6309f866f2
commit 6547296b9d
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1742,14 +1742,14 @@ (define-public procps
(define-public usbutils (define-public usbutils
(package (package
(name "usbutils") (name "usbutils")
(version "012") (version "013")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://kernel.org/linux/utils/usb/usbutils/" (uri (string-append "mirror://kernel.org/linux/utils/usb/usbutils/"
"usbutils-" version ".tar.xz")) "usbutils-" version ".tar.xz"))
(sha256 (sha256
(base32 "0iiy0q7fzikavmdsjsb0sl9kp3gfh701qwyjjccvqh0qz4jlcqw8")))) (base32 "0f0klk6d3hmbpf6p4dcwa1qjzblmkhbxs1wsw87aidvqri7lj8wy"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(outputs (list "out" "python")) (outputs (list "out" "python"))
(arguments (arguments
@ -1758,7 +1758,7 @@ (define-public usbutils
(add-before 'bootstrap 'patch-bootstrap-scripts (add-before 'bootstrap 'patch-bootstrap-scripts
(lambda _ (lambda _
(substitute* "usbhid-dump/bootstrap" (substitute* "usbhid-dump/bootstrap"
(("/bin/bash") (which "bash"))) (("/bin/sh") (which "sh")))
;; Don't let autogen.sh run configure with bogus options & CFLAGS. ;; Don't let autogen.sh run configure with bogus options & CFLAGS.
(substitute* "autogen.sh" (substitute* "autogen.sh"