[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: nfs-utils: Fix building with address@hidden
From: |
Efraim Flashner |
Subject: |
02/02: gnu: nfs-utils: Fix building with address@hidden |
Date: |
Sat, 10 Nov 2018 15:36:45 -0500 (EST) |
efraim pushed a commit to branch core-updates
in repository guix.
commit 1a392ee7aed74e345f5263063fdde9a739082af4
Author: Efraim Flashner <address@hidden>
Date: Sat Nov 10 22:34:56 2018 +0200
gnu: nfs-utils: Fix building with address@hidden
* gnu/packages/nfs.scm (nfs-utils)[arguments]: Add custom phase to fix
building with address@hidden
---
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 <address@hidden>
;;; Copyright © 2017, 2018 Leo Famulari <address@hidden>
+;;; Copyright © 2018 Efraim Flashner <address@hidden>
;;;
;;; 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