jfsutils: Fix build

http://hydra.nixos.org/build/3897210
This commit is contained in:
Eelco Dolstra 2013-01-28 14:00:07 +01:00
parent 35af62f998
commit 38ced3b436
2 changed files with 14 additions and 0 deletions

View file

@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
sha1 = "291e8bd9d615cf3d27e4000117c81a3602484a50";
};
patches = [ ./types.h ];
buildInputs = [ libuuid ];
meta = {

View file

@ -0,0 +1,12 @@
diff -ru -x '*~' jfsutils-1.1.15-orig/libfs/devices.h jfsutils-1.1.15/libfs/devices.h
--- jfsutils-1.1.15-orig/libfs/devices.h 2005-11-22 21:43:55.000000000 +0100
+++ jfsutils-1.1.15/libfs/devices.h 2013-01-28 13:58:56.888630278 +0100
@@ -18,6 +18,8 @@
#ifndef H_DEVICES
#define H_DEVICES
+#include <inttypes.h>
+
#define GET 0
#define PUT 1
#define VRFY 2