diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-08-21 15:36:48 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-08-21 15:36:48 +0000 |
commit | 02bd68fa15861f28b6f65db7b98873c4c5b9e644 (patch) | |
tree | c907c57043e83caa73bf2850375f11c5ebf482c4 /pkgs/tools/compression | |
parent | ff0b54e26e40b8bbbc7d1b415a770e8dcc82606f (diff) | |
download | nixlib-02bd68fa15861f28b6f65db7b98873c4c5b9e644.tar nixlib-02bd68fa15861f28b6f65db7b98873c4c5b9e644.tar.gz nixlib-02bd68fa15861f28b6f65db7b98873c4c5b9e644.tar.bz2 nixlib-02bd68fa15861f28b6f65db7b98873c4c5b9e644.tar.lz nixlib-02bd68fa15861f28b6f65db7b98873c4c5b9e644.tar.xz nixlib-02bd68fa15861f28b6f65db7b98873c4c5b9e644.tar.zst nixlib-02bd68fa15861f28b6f65db7b98873c4c5b9e644.zip |
Removing a gzip patch we had, as it looks like being in the new upstream release.
svn path=/nixpkgs/branches/stdenv-updates/; revision=23307
Diffstat (limited to 'pkgs/tools/compression')
-rw-r--r-- | pkgs/tools/compression/gzip/default.nix | 2 | ||||
-rw-r--r-- | pkgs/tools/compression/gzip/getopt.patch | 54 |
2 files changed, 0 insertions, 56 deletions
diff --git a/pkgs/tools/compression/gzip/default.nix b/pkgs/tools/compression/gzip/default.nix index 57ad6eadf918..b32bbb932e84 100644 --- a/pkgs/tools/compression/gzip/default.nix +++ b/pkgs/tools/compression/gzip/default.nix @@ -8,8 +8,6 @@ stdenv.mkDerivation rec { sha256 = "1vhiyzls60fws48scw48wvwn8mpv1f4yhcsnafys239qvb9wyrni"; }; - patches = [ ./getopt.patch ]; - doCheck = true; meta = { diff --git a/pkgs/tools/compression/gzip/getopt.patch b/pkgs/tools/compression/gzip/getopt.patch deleted file mode 100644 index e61dd9778107..000000000000 --- a/pkgs/tools/compression/gzip/getopt.patch +++ /dev/null @@ -1,54 +0,0 @@ -See http://lists.gnu.org/archive/html/bug-gnulib/2009-10/msg00089.html . - -From dd0ebefe4fe761f6f422a400430db53c64dbffd7 Mon Sep 17 00:00:00 2001 -From: Eric Blake <ebb9@byu.net> -Date: Tue, 6 Oct 2009 20:44:13 -0600 -Subject: [PATCH] getopt: fix compilation on darwin -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -* lib/getopt.in.h (includes): Leave breadcrumbs during system -include. -* lib/unistd.in.h (getopt): Use them to avoid recursive include. -Reported by Ludovic Courtès. - -Signed-off-by: Eric Blake <ebb9@byu.net> ---- - ChangeLog | 5 +++++ - lib/getopt.in.h | 6 +++++- - lib/unistd.in.h | 2 +- - 3 files changed, 11 insertions(+), 2 deletions(-) - -diff --git a/lib/getopt.in.h b/lib/getopt.in.h -index 9de467a..7377f3c 100644 ---- a/lib/getopt.in.h -+++ b/lib/getopt.in.h -@@ -22,9 +22,13 @@ - @PRAGMA_SYSTEM_HEADER@ - #endif - --/* The include_next requires a split double-inclusion guard. */ -+/* The include_next requires a split double-inclusion guard. We must -+ also inform the replacement unistd.h to not recursively use -+ <getopt.h>; our definitions will be present soon enough. */ - #if @HAVE_GETOPT_H@ -+# define _GL_SYSTEM_GETOPT - # @INCLUDE_NEXT@ @NEXT_GETOPT_H@ -+# undef _GL_SYSTEM_GETOPT - #endif - - #ifndef _GL_GETOPT_H -diff --git a/lib/unistd.in.h b/lib/unistd.in.h -index 38e2e13..b6ea889 100644 ---- a/lib/unistd.in.h -+++ b/lib/unistd.in.h -@@ -49,7 +49,7 @@ - #endif - - /* Get getopt(), optarg, optind, opterr, optopt. */ --#if @GNULIB_UNISTD_H_GETOPT@ -+#if @GNULIB_UNISTD_H_GETOPT@ && !defined _GL_SYSTEM_GETOPT - # include <getopt.h> - #endif - |