summary refs log tree commit diff
path: root/pkgs/tools/text/gnugrep
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/text/gnugrep')
-rw-r--r--pkgs/tools/text/gnugrep/default.nix2
-rw-r--r--pkgs/tools/text/gnugrep/malloc.patch15
2 files changed, 0 insertions, 17 deletions
diff --git a/pkgs/tools/text/gnugrep/default.nix b/pkgs/tools/text/gnugrep/default.nix
index 18a6ef5dc69..3c21bfd2f25 100644
--- a/pkgs/tools/text/gnugrep/default.nix
+++ b/pkgs/tools/text/gnugrep/default.nix
@@ -5,8 +5,6 @@ let version = "2.7"; in
 stdenv.mkDerivation {
   name = "gnugrep-${version}";
   
-  patches = [ ./malloc.patch ];
-  
   src = fetchurl {
     url = "mirror://gnu/grep/grep-${version}.tar.gz";
     sha256 = "1b8vksfd1ngharac3ygaqim3lrf0yqap992sg0vfm7572l88655d";
diff --git a/pkgs/tools/text/gnugrep/malloc.patch b/pkgs/tools/text/gnugrep/malloc.patch
deleted file mode 100644
index b645c64a09e..00000000000
--- a/pkgs/tools/text/gnugrep/malloc.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-http://www.mail-archive.com/bug-grep@gnu.org/msg02537.html
-
-diff --git a/src/kwset.c b/src/kwset.c
-index 050562e..995be79 100644
---- a/src/kwset.c
-+++ b/src/kwset.c
-@@ -40,7 +40,7 @@
- #ifdef GREP
- # include "xalloc.h"
- # undef malloc
--# define malloc(s) xmalloc(s)
-+# define malloc xmalloc
- #endif
-
- #define NCHAR (UCHAR_MAX + 1)