nfs-utils PAGE_SIZE patch.

Otherwise it fails on ARM.

Patch by Rickard Nilsson.


svn path=/nixpkgs/trunk/; revision=33329
This commit is contained in:
Lluís Batlle i Rossell 2012-03-21 11:56:33 +00:00
parent 6c4fb4a7b7
commit 61d475d2e0

View file

@ -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 =