From 61d475d2e0c5634d5c85a94bebd74a9f64f7bc09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Wed, 21 Mar 2012 11:56:33 +0000 Subject: [PATCH] nfs-utils PAGE_SIZE patch. Otherwise it fails on ARM. Patch by Rickard Nilsson. svn path=/nixpkgs/trunk/; revision=33329 --- pkgs/os-specific/linux/nfs-utils/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/os-specific/linux/nfs-utils/default.nix b/pkgs/os-specific/linux/nfs-utils/default.nix index 0a0a3c997484..6429d8092cfd 100644 --- a/pkgs/os-specific/linux/nfs-utils/default.nix +++ b/pkgs/os-specific/linux/nfs-utils/default.nix @@ -30,6 +30,9 @@ stdenv.mkDerivation rec { chmod +x "$i" done sed -i s,/usr/sbin,$out/sbin, utils/statd/statd.c + + # https://bugzilla.redhat.com/show_bug.cgi?id=749195 + sed -i s,PAGE_SIZE,getpagesize\(\), utils/blkmapd/device-process.c ''; preBuild =