gnu: multipath-tools: Fix build.

(multipath-tools)[arguments]: Pass -n to gzip to avoid timestamp related
warnings causing build failures.
This commit is contained in:
Mathieu Othacehe 2018-06-12 16:11:51 +02:00
parent 5909bdc887
commit a9e7d6564b
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -2995,7 +2995,10 @@ (define-public multipath-tools
(let ((lvm2 (assoc-ref inputs "lvm2"))
(udev (assoc-ref inputs "udev")))
(substitute* "Makefile.inc"
(("\\$\\(prefix\\)/usr") "$(prefix)"))
(("\\$\\(prefix\\)/usr") "$(prefix)")
;; Do not save timestamp to avoid gzip "timestamp
;; out-of-range" warnings.
(("gzip -9") "gzip -9n"))
(substitute* '("kpartx/Makefile" "libmultipath/Makefile")
(("/usr/include/libdevmapper.h")
(string-append lvm2 "/include/libdevmapper.h"))