3
0
Fork 0
forked from mirrors/nixpkgs

gnu grep does not need the patch we set anymore.

svn path=/nixpkgs/branches/stdenv-updates/; revision=24186
This commit is contained in:
Lluís Batlle i Rossell 2010-10-08 14:28:48 +00:00
parent c93a74426b
commit 143ea0f491
2 changed files with 0 additions and 17 deletions

View file

@ -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";

View file

@ -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)