3
0
Fork 0
forked from mirrors/nixpkgs

jfsrec: Fix build

http://hydra.nixos.org/build/7008843
This commit is contained in:
Eelco Dolstra 2013-12-10 14:28:19 +01:00
parent ed463a7671
commit ec5739ef17
2 changed files with 4 additions and 3 deletions

View file

@ -69,6 +69,7 @@ stdenv.mkDerivation {
sha256 = "15k91ihzs6190pnryh4cl0b3c2pjpl9d790mr14x16zq52y7px2d"; sha256 = "15k91ihzs6190pnryh4cl0b3c2pjpl9d790mr14x16zq52y7px2d";
}) })
./time_utc_144.patch ./time_utc_144.patch
./boost-149-cstdint.patch
]; ];
crossAttrs = rec { crossAttrs = rec {

View file

@ -1,7 +1,7 @@
{ stdenv, fetchurl, boost }: { stdenv, fetchurl, boost }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "jfsrec-pre-svn-7"; name = "jfsrec-0-pre-svn-7";
src = fetchurl { src = fetchurl {
url = mirror://sourceforge/jfsrec/jfsrec-svn-7.tar.gz; url = mirror://sourceforge/jfsrec/jfsrec-svn-7.tar.gz;
@ -14,10 +14,10 @@ stdenv.mkDerivation {
preConfigure = preConfigure =
'' ''
sed -e '/[#]include [<]config.h[>]/a\#include <string.h>' -i src/unicode_to_utf8.cpp sed -e '/[#]include [<]config.h[>]/a\#include <string.h>' -i src/unicode_to_utf8.cpp
cat src/unicode_to_utf8.cpp
''; '';
meta = { meta = {
description = "JFS recovery tool"; description = "JFS recovery tool";
homepage = http://jfsrec.sourceforge.net/;
}; };
} }