summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-02 18:15:01 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-02 18:15:01 +0000
commitf89bc7c3f2141d76abff5b3f1c6ee786409de16b (patch)
treed4db57ee2b9038d3a0d307a813f69a645ecce351 /app-editors/nano
parentInitial commit. Fixes #93504 (diff)
downloadhistorical-f89bc7c3f2141d76abff5b3f1c6ee786409de16b.tar.gz
historical-f89bc7c3f2141d76abff5b3f1c6ee786409de16b.tar.bz2
historical-f89bc7c3f2141d76abff5b3f1c6ee786409de16b.zip
search & replace fix from upstream
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'app-editors/nano')
-rw-r--r--app-editors/nano/Manifest9
-rw-r--r--app-editors/nano/files/nano-1.3.8-rep.patch12
-rw-r--r--app-editors/nano/nano-1.3.8.ebuild3
3 files changed, 19 insertions, 5 deletions
diff --git a/app-editors/nano/Manifest b/app-editors/nano/Manifest
index 17ef740e181e..38b1e9c0826e 100644
--- a/app-editors/nano/Manifest
+++ b/app-editors/nano/Manifest
@@ -6,7 +6,7 @@ MD5 c1c536536ad4eec546f24d02f679b092 nano-1.3.7.ebuild 1744
MD5 b297797b490f7c6ca8d5f40f2d6347cc metadata.xml 1015
MD5 6f760844d541acb2dd4c92e22edc5759 nano-1.3.6.ebuild 1755
MD5 32ad8dd2260ac44dbbeb2d50e2ed0df6 nano-1.2.5.ebuild 1429
-MD5 29ec8c778427268622637e9c912aa621 nano-1.3.8.ebuild 1735
+MD5 4c918980c4e80103c319127e9a7a4dcd nano-1.3.8.ebuild 1772
MD5 1112589d00531f9b4557029ff454e5dc ChangeLog 8327
MD5 959e0d50769b5362d326d0d26809ff02 files/digest-nano-1.3.7 63
MD5 ebe8f2a4d216c558d080645929ad7176 files/nano-1.3.6-nomac.patch 883
@@ -14,6 +14,7 @@ MD5 e96987d3e608193dd5a2c0c0122571b5 files/nanorc-gentoo 1864
MD5 b075a7a5fe393380c5f00e4efd3146fb files/digest-nano-1.2.5 62
MD5 c3684059e73752ce1f114e768ecbaa2b files/1.3.4-nanobrack.patch 557
MD5 a5c8733d0235f5a0958b395ad9f44611 files/digest-nano-1.3.8 63
+MD5 186cedbceeaf68b6146eda881e9db05a files/nano-1.3.8-rep.patch 305
MD5 b6b8e30beb4e577ac5d8d58bced6b326 files/digest-nano-1.3.6 62
MD5 95e2a2065a0c2ff580dcf645fba2de1e files/digest-nano-1.3.4 62
MD5 4cf6c77ed7c28d94c8de44d8318176c3 files/1.3.4-nomac.patch 511
@@ -22,7 +23,7 @@ MD5 9ecacdb9e41a6ddb3200113238ca4b2b files/nanorc-sh 646
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
-iD8DBQFCxp63gIKl8Uu19MoRAqkEAJ43qbp7WKQqtsEdbOGGO7POJH0WXACfaPXT
-uc+2D+3wxclgPtLkmoyxcVk=
-=3LMC
+iD8DBQFCxtnPgIKl8Uu19MoRAtbMAJ0duWZBY6KgOVUPeCt6e7Az6FWzHQCeJbJV
+BU3ET64maCu4jk3oHEM5XnQ=
+=Xekd
-----END PGP SIGNATURE-----
diff --git a/app-editors/nano/files/nano-1.3.8-rep.patch b/app-editors/nano/files/nano-1.3.8-rep.patch
new file mode 100644
index 000000000000..8bfd5520419a
--- /dev/null
+++ b/app-editors/nano/files/nano-1.3.8-rep.patch
@@ -0,0 +1,12 @@
+Patch from upstream.
+--- nano-1.3.8/src/search.c
++++ nano-1.3.8/src/search.c
+@@ -907,6 +907,8 @@
+ last_search = mallocstrcpy(last_search, answer);
+ }
+
++ last_replace = mallocstrcpy(last_replace, "");
++
+ i = statusq(FALSE, replace_list_2, last_replace,
+ #ifndef NANO_SMALL
+ &replace_history,
diff --git a/app-editors/nano/nano-1.3.8.ebuild b/app-editors/nano/nano-1.3.8.ebuild
index 488c6e6b43b3..2b4a9ffa71db 100644
--- a/app-editors/nano/nano-1.3.8.ebuild
+++ b/app-editors/nano/nano-1.3.8.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/app-editors/nano/nano-1.3.8.ebuild,v 1.1 2005/07/02 14:02:57 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/nano-1.3.8.ebuild,v 1.2 2005/07/02 18:15:01 vapier Exp $
inherit eutils
@@ -22,6 +22,7 @@ PROVIDE="virtual/editor"
src_unpack() {
unpack ${A}
cd "${S}"
+ epatch "${FILESDIR}"/${P}-rep.patch
use nomac && epatch "${FILESDIR}"/${PN}-1.3.6-nomac.patch
}