summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-06-13 23:16:41 +0000
committerMike Frysinger <vapier@gentoo.org>2005-06-13 23:16:41 +0000
commit65f09a16eecbe73309535a9db466b2f5ecebc332 (patch)
tree12972257117a1da3e74f36ed1e69f4ed2a38b9ef /sys-apps/sed/files
parentebuild cleanup and fix to #93186 (diff)
downloadhistorical-65f09a16eecbe73309535a9db466b2f5ecebc332.tar.gz
historical-65f09a16eecbe73309535a9db466b2f5ecebc332.tar.bz2
historical-65f09a16eecbe73309535a9db466b2f5ecebc332.zip
Add patch from upstream to fix typo in error msg #96009.
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'sys-apps/sed/files')
-rw-r--r--sys-apps/sed/files/sed-4.1.4-fix-invalid-ref-error.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/sys-apps/sed/files/sed-4.1.4-fix-invalid-ref-error.patch b/sys-apps/sed/files/sed-4.1.4-fix-invalid-ref-error.patch
new file mode 100644
index 000000000000..3605e0bb0ded
--- /dev/null
+++ b/sys-apps/sed/files/sed-4.1.4-fix-invalid-ref-error.patch
@@ -0,0 +1,21 @@
+Grab fix from upstream for incorrect error msg display.
+
+http://bugs.gentoo.org/96009
+
+Index: regexp.c
+===================================================================
+RCS file: /cvsroot/sed/sed/sed/regexp.c,v
+retrieving revision 1.3
+retrieving revision 1.4
+diff -u -r1.3 -r1.4
+--- sed/regexp.c 27 Jan 2005 08:04:30 -0000 1.3
++++ sed/regexp.c 10 Feb 2005 09:54:50 -0000 1.4
+@@ -113,7 +113,7 @@
+ {
+ char buf[200];
+ sprintf(buf, _("invalid reference \\%d on `s' command's RHS"),
+- needed_sub);
++ needed_sub - 1);
+ bad_prog(buf);
+ }
+ }