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
commit26e87d03e692d0210772cb4c47cc4411f45da76c (patch)
tree1101abb87575ec39699cab585cef1f03138b171d /sys-apps/sed
parentebuild cleanup and fix to #93186 (diff)
downloadgentoo-2-26e87d03e692d0210772cb4c47cc4411f45da76c.tar.gz
gentoo-2-26e87d03e692d0210772cb4c47cc4411f45da76c.tar.bz2
gentoo-2-26e87d03e692d0210772cb4c47cc4411f45da76c.zip
Add patch from upstream to fix typo in error msg #96009.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'sys-apps/sed')
-rw-r--r--sys-apps/sed/ChangeLog8
-rw-r--r--sys-apps/sed/files/sed-4.1.4-fix-invalid-ref-error.patch21
-rw-r--r--sys-apps/sed/sed-4.1.4.ebuild3
3 files changed, 29 insertions, 3 deletions
diff --git a/sys-apps/sed/ChangeLog b/sys-apps/sed/ChangeLog
index 5195d839f931..2bd90c34935f 100644
--- a/sys-apps/sed/ChangeLog
+++ b/sys-apps/sed/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/sed
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/sed/ChangeLog,v 1.63 2005/06/12 17:58:25 j4rg0n Exp $
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sed/ChangeLog,v 1.64 2005/06/13 23:16:41 vapier Exp $
+
+ 13 Jun 2005; Mike Frysinger <vapier@gentoo.org>
+ +files/sed-4.1.4-fix-invalid-ref-error.patch, sed-4.1.4.ebuild:
+ Add patch from upstream to fix typo in error msg #96009.
12 Jun 2005; Lina Pezzella <j4rg0n@gentoo.org> sed-4.1.4.ebuild:
Removed renaming of doc files on ppc-macos and fbsd. Stable ppc-macos to
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);
+ }
+ }
diff --git a/sys-apps/sed/sed-4.1.4.ebuild b/sys-apps/sed/sed-4.1.4.ebuild
index 38fd3ff5cb18..a69fab8c0f2b 100644
--- a/sys-apps/sed/sed-4.1.4.ebuild
+++ b/sys-apps/sed/sed-4.1.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/sed/sed-4.1.4.ebuild,v 1.7 2005/06/12 17:58:25 j4rg0n Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sed/sed-4.1.4.ebuild,v 1.8 2005/06/13 23:16:41 vapier Exp $
inherit flag-o-matic
@@ -39,6 +39,7 @@ src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-makeinfo-c-locale.patch
+ epatch "${FILESDIR}"/${P}-fix-invalid-ref-error.patch
}
src_compile() {