From 67763e7c163953d67557c7ee924f9da766bc2491 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Wed, 15 Apr 2009 08:24:37 +0000 Subject: [PATCH] Fixing netpbm for x86_64 (and adding a hash for fetchsvn) svn path=/nixpkgs/trunk/; revision=15049 --- pkgs/tools/graphics/netpbm/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/tools/graphics/netpbm/default.nix b/pkgs/tools/graphics/netpbm/default.nix index dc4b3ce95bbc..c2e85564e66c 100644 --- a/pkgs/tools/graphics/netpbm/default.nix +++ b/pkgs/tools/graphics/netpbm/default.nix @@ -6,8 +6,11 @@ stdenv.mkDerivation { src = fetchsvn { url = https://netpbm.svn.sourceforge.net/svnroot/netpbm/advanced; rev = 844; + sha256 = "8729e63bb5cc9fd500a68d5aed91fa4b973ebc068e3014b47390ba7b4d85968e"; }; + NIX_CFLAGS_COMPILE = if stdenv.system == "x86_64-linux" then "-fPIC" else ""; + buildInputs = [ flex zlib perl libpng libjpeg libxml2 ]; configurePhase = "cp config.mk.in config.mk";