Author: guibert
Date: Tue Aug 16 18:21:05 2011
New Revision: 28622
URL: https://svn.nixos.org/websvn/nix/?rev=28622&sc=1
Log:
unzip: add support for file greater than 2 GB (unix only)
Modified:
nixpkgs/branches/stdenv-updates/pkgs/tools/archivers/unzip/default.nix
Modified: nixpkgs/branches/stdenv-updates/pkgs/tools/archivers/unzip/default.nix
==============================================================================
--- nixpkgs/branches/stdenv-updates/pkgs/tools/archivers/unzip/default.nix
Tue Aug 16 18:20:59 2011 (r28621)
+++ nixpkgs/branches/stdenv-updates/pkgs/tools/archivers/unzip/default.nix
Tue Aug 16 18:21:05 2011 (r28622)
@@ -16,6 +16,10 @@
buildFlags = "generic D_USE_BZ2=-DUSE_BZIP2 L_BZ2=-lbz2";
+ preConfigure = ''
+ sed -i -e 's@CF="-O3 -Wall -I. -DASM_CRC $(LOC)"@CF="-O3 -Wall -I.
-DASM_CRC -DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(LOC)"@' unix/Makefile
+ '';
+
installFlags = "prefix=$(out)";
meta = {
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits