diff --git a/packages/sysutils/grep/patches/10-grep_fix-0.1.diff b/packages/sysutils/grep/patches/10-grep_fix-0.1.diff deleted file mode 100644 index 3e60903ddd..0000000000 --- a/packages/sysutils/grep/patches/10-grep_fix-0.1.diff +++ /dev/null @@ -1,42 +0,0 @@ -Hi Nelson, - -Thanks for the report. -I debated whether to add an entry to NEWS, but opted not to, -since it is unlikely that anyone will see the result of this fix. - -Here's the patch: - -From 651d212abe771d2a32db746895ae28dd434527b6 Mon Sep 17 00:00:00 2001 -From: Jim Meyering redhat.com> -Date: Wed, 7 Apr 2010 13:36:02 +0200 -Subject: [PATCH] grep: make kwset's obstack use xmalloc, not malloc - -This insidious bug could make grep fail to diagnose a failed malloc, -and then proceed to dereference the resulting NULL pointer. -Note that this bug was unlikely ever to cause real trouble; without -the fix, grep would segfault upon OOM, now it exits with a diagnostic. -* src/kwset.c (malloc) [GREP]: Define without the "(s)" macro -parameter, so that unadorned uses of malloc are also mapped to xmalloc. -One such use is in the expansion of obstack_init. -Report and patch by Nelson H. F. Beebe, in -http://thread.gmane.org/gmane.comp.gnu.grep.bugs/2995 ---- - src/kwset.c | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -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) --- -1.7.1.rc0.212.gbd88f - diff --git a/packages/sysutils/grep/url b/packages/sysutils/grep/url index a4b672f999..5395ad54af 100644 --- a/packages/sysutils/grep/url +++ b/packages/sysutils/grep/url @@ -1 +1 @@ -ftp://sunsite.cnlab-switch.ch/mirror/gnu/grep/grep-2.6.3.tar.gz +ftp://sunsite.cnlab-switch.ch/mirror/gnu/grep/grep-2.7.tar.gz