diff options
author | Mamoru Komachi <usata@gentoo.org> | 2004-02-17 13:40:58 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2004-02-17 13:40:58 +0000 |
commit | 7681ca088afb8df60ad1c9c2ce999fcde407ea2b (patch) | |
tree | 825214d793a0d0927d015edb7463697e9d932954 /net-www | |
parent | mark stable, it fixes some serious bugs from 2.6.3 (Manifest recommit) (diff) | |
download | gentoo-2-7681ca088afb8df60ad1c9c2ce999fcde407ea2b.tar.gz gentoo-2-7681ca088afb8df60ad1c9c2ce999fcde407ea2b.tar.bz2 gentoo-2-7681ca088afb8df60ad1c9c2ce999fcde407ea2b.zip |
Fixed compile error when USE="async -cjk". Closing bug #40774
Diffstat (limited to 'net-www')
-rw-r--r-- | net-www/w3m/ChangeLog | 8 | ||||
-rw-r--r-- | net-www/w3m/files/digest-w3m-0.4.2-r9 (renamed from net-www/w3m/files/digest-w3m-0.4.2-r8) | 0 | ||||
-rw-r--r-- | net-www/w3m/files/w3m-0.4.2-async-m17n-gentoo.diff | 45 | ||||
-rw-r--r-- | net-www/w3m/w3m-0.4.2-r9.ebuild (renamed from net-www/w3m/w3m-0.4.2-r8.ebuild) | 7 |
4 files changed, 57 insertions, 3 deletions
diff --git a/net-www/w3m/ChangeLog b/net-www/w3m/ChangeLog index 0f78fe7199f3..1b4b5008d397 100644 --- a/net-www/w3m/ChangeLog +++ b/net-www/w3m/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-www/w3m # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/w3m/ChangeLog,v 1.47 2004/02/07 13:16:21 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/w3m/ChangeLog,v 1.48 2004/02/17 13:40:58 usata Exp $ + +*w3m-0.4.2-r9 (17 Feb 2004) + + 17 Feb 2004; Mamoru KOMACHI <usata@gentoo.org> w3m-0.4.2-r9.ebuild, + files/w3m-0.4.2-async-m17n-gentoo.diff: + Fixed compile error when USE="async -cjk". Closing bug #40774 *w3m-0.4.2-r8 (07 Feb 2004) diff --git a/net-www/w3m/files/digest-w3m-0.4.2-r8 b/net-www/w3m/files/digest-w3m-0.4.2-r9 index 2b2d4cf7adbb..2b2d4cf7adbb 100644 --- a/net-www/w3m/files/digest-w3m-0.4.2-r8 +++ b/net-www/w3m/files/digest-w3m-0.4.2-r9 diff --git a/net-www/w3m/files/w3m-0.4.2-async-m17n-gentoo.diff b/net-www/w3m/files/w3m-0.4.2-async-m17n-gentoo.diff new file mode 100644 index 000000000000..ebc5fbb84768 --- /dev/null +++ b/net-www/w3m/files/w3m-0.4.2-async-m17n-gentoo.diff @@ -0,0 +1,45 @@ +diff -urN w3m.orig/file.c w3m/file.c +--- w3m.orig/file.c 2004-02-17 19:10:27.055076000 +0900 ++++ w3m/file.c 2004-02-17 22:00:49.578016400 +0900 +@@ -652,13 +652,11 @@ + cont = TRUE; + #ifdef USE_M17N + lineBuf2 = decodeMIME(lineBuf2, &mime_charset); ++#endif + lineBuf2 = convertLine(NULL, lineBuf2, RAW_MODE, + mime_charset ? &mime_charset : &newBuf->document_charset, + mime_charset ? mime_charset + : DocumentCharset); +-#else +- lineBuf2 = convertLine(NULL, lineBuf2, &newBuf->document_code, RAW_MODE); +-#endif + /* separated with line and stored */ + tmp = Strnew_size(lineBuf2->length); + for (p = lineBuf2->ptr; *p; p = q) { +@@ -6772,13 +6770,11 @@ + } + #endif + if (!newBuf->internal) { +-#ifdef USE_M17N + lineBuf2 = convertLine(f, lineBuf2, HTML_MODE, &newBuf->document_charset, newBuf->document_charset); ++#ifdef USE_M17N + #ifdef USE_IMAGE + h_env->document_charset = newBuf->document_charset; + #endif +-#else +- lineBuf2 = convertLine(f, lineBuf2, &newBuf->document_code, HTML_MODE); + #endif + } + HTMLlineproc0(lineBuf2->ptr, h_env, newBuf->internal); +@@ -7497,11 +7493,7 @@ + buf->nlines++; + buf->linelen += lineBuf2->length; + showProgressBuffer(buf); +-#ifdef USE_M17N + lineBuf2 = convertLine(uf, lineBuf2, PAGER_MODE, &buf->document_charset, buf->document_charset); +-#else +- lineBuf2 = convertLine(uf, lineBuf2, &buf->document_charset, PAGER_MODE); +-#endif + if (squeezeBlankLine) { + squeeze_flag = FALSE; + if (lineBuf2->ptr[0] == '\n' && buf->pre_lbuf == '\n') { diff --git a/net-www/w3m/w3m-0.4.2-r8.ebuild b/net-www/w3m/w3m-0.4.2-r9.ebuild index d9498f75581f..da6b69ac172a 100644 --- a/net-www/w3m/w3m-0.4.2-r8.ebuild +++ b/net-www/w3m/w3m-0.4.2-r9.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-r8.ebuild,v 1.1 2004/02/07 09:25:01 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/w3m/w3m-0.4.2-r9.ebuild,v 1.1 2004/02/17 13:40:58 usata Exp $ W3M_CVS_PV="1.890" W3M_CVS_P="${PN}-cvs-${W3M_CVS_PV}" @@ -67,7 +67,10 @@ src_unpack() { epatch ${FILESDIR}/${PN}-libwc-gentoo.diff epatch ${DISTDIR}/${W3M_CVS_P}-nls-4.diff #epatch ${DISTDIR}/${W3M_CVS_P}-ja.po.diff - use async && epatch ${DISTDIR}/${W3M_CVS_P}-async-5.diff.gz + if [ -n "`use async`" ] ; then + epatch ${DISTDIR}/${W3M_CVS_P}-async-5.diff.gz + epatch ${FILESDIR}/${P}-async-m17n-gentoo.diff + fi #epatch ${DISTDIR}/${P}-cvs-1.895_256-001.patch.gz #use canna && epatch ${DISTDIR}/${W3M_CVS_P}-canna.patch } |