summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Hadfield <hadfield@gentoo.org>2005-11-30 06:21:22 +0000
committerScott Hadfield <hadfield@gentoo.org>2005-11-30 06:21:22 +0000
commita317301c40e8bf72b971a28f02f6597a343312a3 (patch)
tree2624992944a60de59013cbad2745c3430d5f88f1 /www-client
parentRemoved quaint virtual/libc dependency (diff)
downloadgentoo-2-a317301c40e8bf72b971a28f02f6597a343312a3.tar.gz
gentoo-2-a317301c40e8bf72b971a28f02f6597a343312a3.tar.bz2
gentoo-2-a317301c40e8bf72b971a28f02f6597a343312a3.zip
Added patch to fix lynx crashing on bad <TAB ...>. Patch was submitted by adobriyan@gmail.com fixing bug #113775.
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'www-client')
-rw-r--r--www-client/lynx/ChangeLog7
-rw-r--r--www-client/lynx/Manifest11
-rw-r--r--www-client/lynx/files/lynx-2.8.5-tab_to.patch13
-rw-r--r--www-client/lynx/lynx-2.8.5-r3.ebuild3
4 files changed, 27 insertions, 7 deletions
diff --git a/www-client/lynx/ChangeLog b/www-client/lynx/ChangeLog
index ac08aa2a7203..660e9a80e40e 100644
--- a/www-client/lynx/ChangeLog
+++ b/www-client/lynx/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-client/lynx
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/lynx/ChangeLog,v 1.21 2005/11/22 02:45:49 hadfield Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/lynx/ChangeLog,v 1.22 2005/11/30 06:21:22 hadfield Exp $
+
+ 30 Nov 2005; Scott Hadfield <hadfield@gentoo.org>
+ files/lynx-2.8.5-tab_to.patch
+ Added patch to fix lynx crashing on bad <TAB ...>. Patch was submitted
+ by adobriyan@gmail.com fixing bug #113775.
*lynx-2.8.5-r3 (21 Nov 2005)
diff --git a/www-client/lynx/Manifest b/www-client/lynx/Manifest
index fbd3a6937d0d..c04b53383224 100644
--- a/www-client/lynx/Manifest
+++ b/www-client/lynx/Manifest
@@ -1,9 +1,10 @@
MD5 b06775e4204c3a7dd2f9bb181fefa9dc ChangeLog 8579
-MD5 0133ecbd50dec3f32395e2e65f072544 lynx-2.8.5-r1.ebuild 1819
-MD5 4dd25a49eb12cbdd31b97da6dc988eb3 lynx-2.8.5-r2.ebuild 1930
-MD5 b43fed3eecce002714f31c6d246cef5b metadata.xml 288
-MD5 9108302bf5e3d43c87550e94fdda73d5 lynx-2.8.5-r3.ebuild 1920
MD5 69f5b66452909cba98afabb58a6e826b files/digest-lynx-2.8.5-r1 140
MD5 3609542671c4be7e881627bc5ca33c4f files/digest-lynx-2.8.5-r2 135
+MD5 0cede7a416df080ba71bf014941a7605 files/digest-lynx-2.8.5-r3 131
MD5 a041d139e8868dac8d23fd879f31809a files/lynx-2.8.5-darwin.patch 687
-MD5 a591e3f69d0d36d9ae29cb07ff473b64 files/digest-lynx-2.8.5-r3 131
+MD5 0cbf6e7f62c43375c180ab6c3042bb8c files/lynx-2.8.5-tab_to.patch 433
+MD5 0133ecbd50dec3f32395e2e65f072544 lynx-2.8.5-r1.ebuild 1819
+MD5 4dd25a49eb12cbdd31b97da6dc988eb3 lynx-2.8.5-r2.ebuild 1930
+MD5 43bb89d209a5f665e3f2988cbd74de3a lynx-2.8.5-r3.ebuild 1960
+MD5 b43fed3eecce002714f31c6d246cef5b metadata.xml 288
diff --git a/www-client/lynx/files/lynx-2.8.5-tab_to.patch b/www-client/lynx/files/lynx-2.8.5-tab_to.patch
new file mode 100644
index 000000000000..bde6dfdaa3aa
--- /dev/null
+++ b/www-client/lynx/files/lynx-2.8.5-tab_to.patch
@@ -0,0 +1,13 @@
+diff -u lynx2-8-5/src/HTTP.c lynx2-8-5/src/HTTP.c
+--- lynx2-8-5/src/HTML.c 2004/10/21 17:04:47 1.5
++++ lynx2-8-5/src/HTML.c 2005/11/27 21:45:19 1.6
+@@ -2104,7 +2104,8 @@
+ int enval = 2;
+
+ column = HText_getCurrentColumn(me->text);
+- if (present[HTML_TAB_TO]) {
++ if (present[HTML_TAB_TO] &&
++ value[HTML_TAB_TO] && *value[HTML_TAB_TO]) {
+ /*
+ * TO has priority over INDENT if both are present. - FM
+ */
diff --git a/www-client/lynx/lynx-2.8.5-r3.ebuild b/www-client/lynx/lynx-2.8.5-r3.ebuild
index 344bc51db975..cf9c2edbba5b 100644
--- a/www-client/lynx/lynx-2.8.5-r3.ebuild
+++ b/www-client/lynx/lynx-2.8.5-r3.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/www-client/lynx/lynx-2.8.5-r3.ebuild,v 1.1 2005/11/22 02:45:49 hadfield Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/lynx/lynx-2.8.5-r3.ebuild,v 1.2 2005/11/30 06:21:22 hadfield Exp $
inherit eutils flag-o-matic
@@ -28,6 +28,7 @@ src_unpack() {
unpack ${A}; cd "${S}"
epatch "${DISTDIR}/${P}"-rel5.patch.bz2
epatch "${FILESDIR}/${P}"-darwin.patch
+ epatch "${FILESDIR}/${P}"-tab_to.patch
}
src_compile() {