From d688b5f57e106f07a4e2ba08a56795ff0d7a92fc Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Thu, 7 May 2009 07:00:31 +0000 Subject: [PATCH] Fixing jfsrec svn path=/nixpkgs/trunk/; revision=15483 --- pkgs/os-specific/linux/jfsrec/svn-7.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/jfsrec/svn-7.nix b/pkgs/os-specific/linux/jfsrec/svn-7.nix index bb124bb52e75..48ec07bbe8ad 100644 --- a/pkgs/os-specific/linux/jfsrec/svn-7.nix +++ b/pkgs/os-specific/linux/jfsrec/svn-7.nix @@ -12,8 +12,13 @@ rec { sed -e 's/-lboost_[a-z_]*/&-mt/g' -i src/Makefile.in '') ["minInit" "doUnpack"]; + doFixInc = FullDepEntry ('' + sed -e '/[#]include [<]config.h[>]/a\#include ' -i src/unicode_to_utf8.cpp + cat src/unicode_to_utf8.cpp + '') ["minInit" "doUnpack"]; + /* doConfigure should be specified separately */ - phaseNames = ["doFixBoost" "doConfigure" "doMakeInstall"]; + phaseNames = ["doFixBoost" "doFixInc" "doConfigure" "doMakeInstall"]; name = "jfsrec-" + version; meta = {