summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Ostorga <vostorga@gentoo.org>2009-09-15 02:51:24 +0000
committerVictor Ostorga <vostorga@gentoo.org>2009-09-15 02:51:24 +0000
commit2b16a5f512c930b9cc1dc24b3a3c391270538ea8 (patch)
tree775de5e2a09970d9d810af0b1a72e214e2bbafcc /app-editors/nedit
parentwhitespace (diff)
downloadhistorical-2b16a5f512c930b9cc1dc24b3a3c391270538ea8.tar.gz
historical-2b16a5f512c930b9cc1dc24b3a3c391270538ea8.tar.bz2
historical-2b16a5f512c930b9cc1dc24b3a3c391270538ea8.zip
Fixing off by one error in regularExp.c . Patch thanks to Evan Teran <eteran@alum.rit.edu> bug 284965
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'app-editors/nedit')
-rw-r--r--app-editors/nedit/ChangeLog9
-rw-r--r--app-editors/nedit/Manifest5
-rw-r--r--app-editors/nedit/files/nedit-5.5-off-by-one.patch12
-rw-r--r--app-editors/nedit/nedit-5.5-r1.ebuild5
4 files changed, 25 insertions, 6 deletions
diff --git a/app-editors/nedit/ChangeLog b/app-editors/nedit/ChangeLog
index 5056dbcb4239..7c49b3c55bda 100644
--- a/app-editors/nedit/ChangeLog
+++ b/app-editors/nedit/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-editors/nedit
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/nedit/ChangeLog,v 1.53 2008/06/17 23:42:56 darkside Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/nedit/ChangeLog,v 1.54 2009/09/15 02:51:23 vostorga Exp $
+
+ 15 Sep 2009; VĂ­ctor Ostorga <vostorga@gentoo.org> nedit-5.5-r1.ebuild,
+ +files/nedit-5.5-off-by-one.patch:
+ Fixing off by one error in regularExp.c . Patch thanks to Evan Teran
+ <eteran@alum.rit.edu> bug 284965
17 Jun 2008; Jeremy Olexa <darkside@gentoo.org> nedit-5.5-r1.ebuild:
Add missing libXpm dep, bug #227951
diff --git a/app-editors/nedit/Manifest b/app-editors/nedit/Manifest
index 53c80bf156f5..a61f85c1d881 100644
--- a/app-editors/nedit/Manifest
+++ b/app-editors/nedit/Manifest
@@ -1,6 +1,7 @@
AUX nedit-5.5-argbvisuals.patch 1462 RMD160 3d87969386ca8ca83b4e87d823d6298129d62dd8 SHA1 4ec157bc4e98a00f5152f67ed5f5e384822497c1 SHA256 ddf22535a85293e3be1453160305f926a1d9233a76febcb1380a2228ec82e1fe
AUX nedit-5.5-motif23.patch 526 RMD160 462ef04c1bd14b9164eecf6646250b2e353ffc66 SHA1 1603079b4ed4eaac08fc58fa8abf54627e5ec9fa SHA256 29e7bbbc4828422344790eb8663d9b872bc9deb6bb5966c8ee54e81f29c018eb
+AUX nedit-5.5-off-by-one.patch 568 RMD160 d7d4b60e2957803544d8673f6d364e4291343d95 SHA1 bcf18944a788eb50c0c90e47250cee6097e23917 SHA256 d79c41129d549dde88cd35dd37c1f17e95d0f9c4fab515babe6883a8c24a4687
DIST nedit-5.5-src.tar.bz2 1124825 RMD160 93fce64bdc5d8a9eff86ab76cec67d44d676d0eb SHA1 7d3c87a793a5047cf857af1ac82e39f3b33e8a87 SHA256 0f6ae7205753080e8b047fb45759a7d6036b19396045c0b5c4a979441231966b
-EBUILD nedit-5.5-r1.ebuild 1284 RMD160 009941ea99fa176b1e2bac76e981c0d9a944da1e SHA1 b8fe78e69efe78a1944ebf9fa6c360dd0a1280de SHA256 c9dc1451e32a16693ef38ea09a2b2b9824811827a64d60e2d4058df2ee4fd3a0
-MISC ChangeLog 7128 RMD160 69fd341f409fae10ca66f6f50751cf19a5c3d956 SHA1 9be97754e56e936996a1fa2e4692cd4f1f32f16b SHA256 79d4d36de34f3e489c85f205123b5ed3e6f0273d3440565ac4d78bf745f074a4
+EBUILD nedit-5.5-r1.ebuild 1328 RMD160 c4e594bbb6190d025f4315e17bd462af2a4949c8 SHA1 c1a837777bab0a575aa4da226ffa94e48f4f02b9 SHA256 917d39f787ca36a7a93060f3abf6233f9162d10930e57ce2104681d1d7b94fee
+MISC ChangeLog 7346 RMD160 cd26c8d37855ad1a0a333f9b86e42e7b5ecba2b1 SHA1 a535d81688295448c3e199fe5c946ab48537dffd SHA256 26b7a66d90bb0f12b14115e474e8b978c49027a9abedd0fd398672f58cc8221a
MISC metadata.xml 231 RMD160 c13056229989c3d4f448a7c7abcff3f4ee7ce13c SHA1 2d63dfb700b223f8f37c078692a81b2237896bce SHA256 4595c2615fd7c9095517949b1a920d4457f92801eb9d46307b18aafe58ec2a8a
diff --git a/app-editors/nedit/files/nedit-5.5-off-by-one.patch b/app-editors/nedit/files/nedit-5.5-off-by-one.patch
new file mode 100644
index 000000000000..1f52e68c8030
--- /dev/null
+++ b/app-editors/nedit/files/nedit-5.5-off-by-one.patch
@@ -0,0 +1,12 @@
+diff -rupN nedit-5.5.old/source/regularExp.c nedit-5.5.new/source/regularExp.c
+--- nedit-5.5.old/source/regularExp.c 2004-08-20 12:37:30.000000000 -0400
++++ nedit-5.5.new/source/regularExp.c 2009-09-14 13:47:37.000000000 -0400
+@@ -2645,7 +2645,7 @@ static struct brace_counts *Brace;
+
+ /* Default table for determining whether a character is a word delimiter. */
+
+-static unsigned char Default_Delimiters [UCHAR_MAX] = {0};
++static unsigned char Default_Delimiters [UCHAR_MAX+1] = {0};
+
+ static unsigned char *Current_Delimiters; /* Current delimiter table */
+
diff --git a/app-editors/nedit/nedit-5.5-r1.ebuild b/app-editors/nedit/nedit-5.5-r1.ebuild
index 8c6a8630f819..278fe7ea72bc 100644
--- a/app-editors/nedit/nedit-5.5-r1.ebuild
+++ b/app-editors/nedit/nedit-5.5-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/nedit/nedit-5.5-r1.ebuild,v 1.8 2008/06/17 23:42:56 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/nedit/nedit-5.5-r1.ebuild,v 1.9 2009/09/15 02:51:23 vostorga Exp $
inherit eutils toolchain-funcs
@@ -25,6 +25,7 @@ src_unpack() {
cd "${S}"
epatch "${FILESDIR}/${P}-argbvisuals.patch"
epatch "${FILESDIR}/${P}-motif23.patch"
+ epatch "${FILESDIR}/${P}-off-by-one.patch"
sed -i -e "s:-Wl,-Bstatic::" makefiles/Makefile.linux
sed -i -e "s:CFLAGS=-O:CFLAGS=${CFLAGS}:" makefiles/Makefile.linux
sed -i -e 's:"/bin/csh":"/bin/sh":' source/preferences.c