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
1 changed files with 4 additions and 1 deletions

View File

@ -2995,7 +2995,10 @@ arrays when needed.")
(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"))