summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-02-07 09:25:01 +0000
committerMamoru Komachi <usata@gentoo.org>2004-02-07 09:25:01 +0000
commit39c0acf7d97fb03ab0efb18c8ef698a0db5e1cba (patch)
treedce44a8f491f58a6a07a98aa32239e9caeada5b6 /net-www/w3m
parentVersion bumped (diff)
downloadgentoo-2-39c0acf7d97fb03ab0efb18c8ef698a0db5e1cba.tar.gz
gentoo-2-39c0acf7d97fb03ab0efb18c8ef698a0db5e1cba.tar.bz2
gentoo-2-39c0acf7d97fb03ab0efb18c8ef698a0db5e1cba.zip
Added a patch to fix form input field bug when --disable-m17n
Diffstat (limited to 'net-www/w3m')
-rw-r--r--net-www/w3m/files/digest-w3m-0.4.2-r8 (renamed from net-www/w3m/files/digest-w3m-0.4.2-r7)0
-rw-r--r--net-www/w3m/files/w3m-0.4.2-form.diff24
-rw-r--r--net-www/w3m/w3m-0.4.2-r8.ebuild (renamed from net-www/w3m/w3m-0.4.2-r7.ebuild)8
3 files changed, 28 insertions, 4 deletions
diff --git a/net-www/w3m/files/digest-w3m-0.4.2-r7 b/net-www/w3m/files/digest-w3m-0.4.2-r8
index 2b2d4cf7adbb..2b2d4cf7adbb 100644
--- a/net-www/w3m/files/digest-w3m-0.4.2-r7
+++ b/net-www/w3m/files/digest-w3m-0.4.2-r8
diff --git a/net-www/w3m/files/w3m-0.4.2-form.diff b/net-www/w3m/files/w3m-0.4.2-form.diff
new file mode 100644
index 000000000000..d8ec1f42b0d3
--- /dev/null
+++ b/net-www/w3m/files/w3m-0.4.2-form.diff
@@ -0,0 +1,24 @@
+Index: form.c
+===================================================================
+RCS file: /cvsroot/w3m/w3m/form.c,v
+retrieving revision 1.33
+retrieving revision 1.34
+diff -u -r1.33 -r1.34
+--- form.c 26 Sep 2003 17:59:51 -0000 1.33
++++ form.c 5 Feb 2004 17:23:07 -0000 1.34
+@@ -1,4 +1,4 @@
+-/* $Id: w3m-0.4.2-form.diff,v 1.1 2004/02/07 09:25:01 usata Exp $ */
++/* $Id: w3m-0.4.2-form.diff,v 1.1 2004/02/07 09:25:01 usata Exp $ */
+ /*
+ * HTML forms
+ */
+@@ -360,6 +360,9 @@
+ else {
+ if (w + c_width > width)
+ break;
++#else
++ }
++ else {
+ #endif
+ buf[pos] = *p;
+ prop[pos] = effect | c_type;
diff --git a/net-www/w3m/w3m-0.4.2-r7.ebuild b/net-www/w3m/w3m-0.4.2-r8.ebuild
index 5a18129ea088..d9498f75581f 100644
--- a/net-www/w3m/w3m-0.4.2-r7.ebuild
+++ b/net-www/w3m/w3m-0.4.2-r8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/w3m/w3m-0.4.2-r7.ebuild,v 1.3 2004/01/30 07:16:08 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/w3m/w3m-0.4.2-r8.ebuild,v 1.1 2004/02/07 09:25:01 usata Exp $
W3M_CVS_PV="1.890"
W3M_CVS_P="${PN}-cvs-${W3M_CVS_PV}"
@@ -39,13 +39,12 @@ RDEPEND=">=sys-libs/ncurses-5.2-r3
gpm? ( >=sys-libs/gpm-1.19.3-r5 )
migemo? ( >=app-text/migemo-0.40 )
ssl? ( >=dev-libs/openssl-0.9.6b )"
+PROVIDE="virtual/textbrowser
+ virtual/w3m"
DEPEND="${RDEPEND}
>=sys-devel/autoconf-2.58"
-PROVIDE="virtual/textbrowser
- virtual/w3m"
-
S=${WORKDIR}/${PN}
pkg_setup() {
@@ -62,6 +61,7 @@ src_unpack() {
unpack ${W3M_CVS_P}.tar.gz
cd ${S}
epatch ${DISTDIR}/${W3M_CVS_P}-1.896.diff.gz
+ epatch ${FILESDIR}/${P}-form.diff
epatch ${FILESDIR}/${PN}-w3mman-gentoo.diff
epatch ${FILESDIR}/${PN}-m17n-search-gentoo.diff
epatch ${FILESDIR}/${PN}-libwc-gentoo.diff