summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-07 01:37:55 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-07 01:37:55 +0000
commit5db1d7f0f1b3e96ab6879599315704a00b2ddfaf (patch)
treec6a6ad8968b76f7b69c7edbefec5dc12eeb4b0c5 /sys-apps/grep/files
parentupdate references to patches (diff)
downloadhistorical-5db1d7f0f1b3e96ab6879599315704a00b2ddfaf.tar.gz
historical-5db1d7f0f1b3e96ab6879599315704a00b2ddfaf.tar.bz2
historical-5db1d7f0f1b3e96ab6879599315704a00b2ddfaf.zip
Update to latest version and grab some patches from Fedora.
Package-Manager: portage-2.1_pre4-r1
Diffstat (limited to 'sys-apps/grep/files')
-rw-r--r--sys-apps/grep/files/digest-grep-2.5.1a3
-rw-r--r--sys-apps/grep/files/grep-2.5.1-bracket.patch11
-rw-r--r--sys-apps/grep/files/grep-2.5.1-color.patch10
3 files changed, 24 insertions, 0 deletions
diff --git a/sys-apps/grep/files/digest-grep-2.5.1a b/sys-apps/grep/files/digest-grep-2.5.1a
new file mode 100644
index 000000000000..86f3e9144a79
--- /dev/null
+++ b/sys-apps/grep/files/digest-grep-2.5.1a
@@ -0,0 +1,3 @@
+MD5 52202fe462770fa6be1bb667bd6cf30c grep-2.5.1a.tar.bz2 527386
+RMD160 f02c36c5a1efe805eafb0b4c0171ddb7ff15fbeb grep-2.5.1a.tar.bz2 527386
+SHA256 38c8a2bb9223d1fb1b10bdd607cf44830afc92fd451ac4cd07619bf92bdd3132 grep-2.5.1a.tar.bz2 527386
diff --git a/sys-apps/grep/files/grep-2.5.1-bracket.patch b/sys-apps/grep/files/grep-2.5.1-bracket.patch
new file mode 100644
index 000000000000..f99571c02034
--- /dev/null
+++ b/sys-apps/grep/files/grep-2.5.1-bracket.patch
@@ -0,0 +1,11 @@
+--- grep-2.5.1/src/dfa.c.bracket 2003-10-30 16:21:14.000000000 +0000
++++ grep-2.5.1/src/dfa.c 2003-10-30 16:22:38.000000000 +0000
+@@ -586,7 +586,7 @@
+ work_mbc->coll_elems[work_mbc->ncoll_elems++] = elem;
+ }
+ }
+- wc = -1;
++ wc1 = wc = -1;
+ }
+ else
+ /* We treat '[' as a normal character here. */
diff --git a/sys-apps/grep/files/grep-2.5.1-color.patch b/sys-apps/grep/files/grep-2.5.1-color.patch
new file mode 100644
index 000000000000..f54c258e114a
--- /dev/null
+++ b/sys-apps/grep/files/grep-2.5.1-color.patch
@@ -0,0 +1,10 @@
+--- grep-2.5.1/src/grep.c.color 2004-11-16 16:46:22.845505847 +0000
++++ grep-2.5.1/src/grep.c 2004-11-16 16:46:27.961530537 +0000
+@@ -607,6 +607,7 @@
+ fputs ("\33[00m", stdout);
+ beg = b + match_size;
+ }
++ fputs ("\33[K", stdout);
+ }
+ fwrite (beg, 1, lim - beg, stdout);
+ if (ferror (stdout))