efraim pushed a commit to branch core-updates
in repository guix.
commit 1a392ee7aed74e345f5263063fdde9a739082af4
Author: Efraim Flashner <[email protected]>
Date: Sat Nov 10 22:34:56 2018 +0200
gnu: nfs-utils: Fix building with [email protected].
* gnu/packages/nfs.scm (nfs-utils)[arguments]: Add custom phase to fix
building with [email protected].
---
gnu/packages/nfs.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/nfs.scm b/gnu/packages/nfs.scm
index f6bb5b3..bdb36d2 100644
--- a/gnu/packages/nfs.scm
+++ b/gnu/packages/nfs.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016 John Darrington <[email protected]>
;;; Copyright © 2017, 2018 Leo Famulari <[email protected]>
+;;; Copyright © 2018 Efraim Flashner <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -60,6 +61,13 @@
,(string-append "--with-krb5=" (assoc-ref %build-inputs "mit-krb5")))
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'fix-glibc-compatability
+ (lambda _
+ (substitute* '("utils/blkmapd/device-discovery.c"
+ "utils/blkmapd/dm-device.c")
+ (("<sys/stat.h>")
+ "<sys/stat.h>\n#include <sys/sysmacros.h>"))
+ #t))
(add-before 'configure 'adjust-command-file-names
(lambda _
;; Remove assumptions of FHS from start-statd script