aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@vega.ocn.ne.jp>2012-05-22 13:33:31 +0000
committerTatsuya Kinoshita <tats@vega.ocn.ne.jp>2012-05-22 13:33:31 +0000
commit272bef09a8c9a005619dc7f3a05f09944a16c5d2 (patch)
treec5883a7ac815a21e48d826a8ecfafa7f92ee25c4 /debian/patches
parentAssume "text" if an input type is unknown (closes: #615843) (diff)
downloadw3m-272bef09a8c9a005619dc7f3a05f09944a16c5d2.tar.gz
w3m-272bef09a8c9a005619dc7f3a05f09944a16c5d2.zip
Sync with upstream on 2012-05-22
- debian/patches/010_entity-h-clean.patch: Updated - debian/patches/050_entity-h-clean.patch: Removed (meged upstream)
Diffstat (limited to '')
-rw-r--r--debian/patches/010_upstream.patch136
-rw-r--r--debian/patches/050_entity-h-clean.patch17
-rw-r--r--debian/patches/series1
3 files changed, 131 insertions, 23 deletions
diff --git a/debian/patches/010_upstream.patch b/debian/patches/010_upstream.patch
index 10ec9e9..64e089d 100644
--- a/debian/patches/010_upstream.patch
+++ b/debian/patches/010_upstream.patch
@@ -1,9 +1,25 @@
-Description: Upstream development snapshot on 2011-01-17
+Description: Upstream development snapshot on 2012-05-22
Origin: upstream, http://w3m.cvs.sourceforge.net/viewvc/w3m/w3m/
+diff -urN w3m-0.5.3/ChangeLog w3m/ChangeLog
--- w3m-0.5.3/ChangeLog 2011-01-15 16:52:48.000000000 +0900
-+++ w3m/ChangeLog 2011-01-20 01:28:37.000000000 +0900
-@@ -1,12 +1,16 @@
++++ w3m/ChangeLog 2012-05-22 22:11:44.000000000 +0900
+@@ -1,12 +1,31 @@
++2012-05-22 Tatsuya Kinoshita <tats@vega.ocn.ne.jp>
++
++ * [w3m-dev 04451] w3m/entity.h should be removed when `make clean'
++ * Makefile.in: add entity.h to "make clean" target.
++
++2012-05-22 Tatsuya Kinoshita <tats@vega.ocn.ne.jp>
++
++ * [w3m-dev 04452] Re: w3m on macosx 10.6.6
++ * doc/w3m.1, doc/STORY.html, doc-jp/STORY.html:
++ delete words about formerly included Boehm GC library.
++
++2012-05-22 Enu <theme.of.n@gmail.com>
++
++ * file.c, HTML.c: parse META CHARSET.
++
+2011-01-17 Dai Sato <satodai@w3m.jp>
+
+ * correction: ChangeLog of 2011-01-15 (0.5.2 -> 0.5.3)
@@ -23,9 +39,119 @@ Origin: upstream, http://w3m.cvs.sourceforge.net/viewvc/w3m/w3m/
* configure: regenerated
2011-01-05 SAKAI Kiyotaka <kiyotaka.sakai@ntt-at.co.jp>
-@@ -9300,4 +9304,4 @@
+@@ -9300,4 +9319,4 @@
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.1050 2011/01/15 07:52:48 inu Exp $
-+$Id: ChangeLog,v 1.1051 2011/01/17 11:53:57 inu Exp $
++$Id: ChangeLog,v 1.1055 2012/05/22 10:20:45 inu Exp $
+diff -urN w3m-0.5.3/Makefile.in w3m/Makefile.in
+--- w3m-0.5.3/Makefile.in 2011-01-04 18:22:18.000000000 +0900
++++ w3m/Makefile.in 2012-05-22 22:11:44.000000000 +0900
+@@ -288,7 +288,7 @@
+ clean: sweep
+ -$(RM) -f *.o *.a $(TARGETS) mktable$(EXT)
+ -$(RM) -f funcname.tab
+- -$(RM) -f funcname.c funcname1.h funcname2.h tagtable.c functable.c
++ -$(RM) -f entity.h funcname.c funcname1.h funcname2.h tagtable.c functable.c
+ -for dir in w3mimg libwc; \
+ do \
+ (cd $$dir && $(MAKE) clean RM="$(RM)"); \
+diff -urN w3m-0.5.3/doc/STORY.html w3m/doc/STORY.html
+--- w3m-0.5.3/doc/STORY.html 2001-11-21 13:29:14.000000000 +0900
++++ w3m/doc/STORY.html 2012-05-22 22:11:44.000000000 +0900
+@@ -182,6 +182,10 @@
+ I could distribute w3m without this library because one can
+ get the library separately, but I decided to contain it in the
+ w3m distribution for the convenience of an installer.
++<P>
++# Boehm GC library is no longer included into w3m packages
++# after w3m-0.4.2.
++<P>
+ W3m doesn't use libwww.
+ <P>
+ Boehm GC is a garbage collector for C and C++. I began to use this
+diff -urN w3m-0.5.3/doc/w3m.1 w3m/doc/w3m.1
+--- w3m-0.5.3/doc/w3m.1 2011-01-15 15:37:24.000000000 +0900
++++ w3m/doc/w3m.1 2012-05-22 22:11:44.000000000 +0900
+@@ -245,8 +245,6 @@
+ .I
+ w3m
+ has incorporated code from several sources.
+-Hans J. Boehm, Alan J. Demers, Xerox Corp. and Silicon Graphics
+-have the copyright of the GC library comes with w3m package.
+ Users have contributed patches and suggestions over time.
+ .SH AUTHOR
+ Akinori ITO <aito@fw.ipsj.or.jp>
+diff -urN w3m-0.5.3/doc-jp/STORY.html w3m/doc-jp/STORY.html
+--- w3m-0.5.3/doc-jp/STORY.html 2003-05-14 02:17:54.000000000 +0900
++++ w3m/doc-jp/STORY.html 2012-05-22 22:11:44.000000000 +0900
+@@ -158,6 +158,9 @@
+ <a href="http://www.hpl.hp.com/personal/Hans_Boehm/gc/">Boehm GC</a>
+ というライブラリを利用している.これは私が書いたものではないが,
+ コンパイル時の便宜を考えて配布パッケージに含めている.
++<P>
++# Boehm GC は、w3m-0.4.2 以降のパッケージには含まれていません。
++<P>
+ なお,libwww は使っていない.
+ <P>
+ Boehm GCは,Cから使えるガベージコレクタだ.table を実装したあたりにこれを
+diff -urN w3m-0.5.3/file.c w3m/file.c
+--- w3m-0.5.3/file.c 2011-01-04 18:22:21.000000000 +0900
++++ w3m/file.c 2012-05-22 22:11:44.000000000 +0900
+@@ -1,4 +1,4 @@
+-/* $Id: file.c,v 1.265 2010/12/15 10:50:24 htrb Exp $ */
++/* $Id: file.c,v 1.266 2012/05/22 09:45:56 inu Exp $ */
+ #include "fm.h"
+ #include <sys/types.h>
+ #include "myctype.h"
+@@ -5020,10 +5020,17 @@
+ HTMLlineproc1(tmp->ptr, h_env);
+ return 1;
+ case HTML_META:
+- p = q = NULL;
++ p = q = r = NULL;
+ parsedtag_get_value(tag, ATTR_HTTP_EQUIV, &p);
+ parsedtag_get_value(tag, ATTR_CONTENT, &q);
+ #ifdef USE_M17N
++ parsedtag_get_value(tag, ATTR_CHARSET, &r);
++ if (r) {
++ /* <meta charset=""> */
++ SKIP_BLANKS(r);
++ meta_charset = wc_guess_charset(r, 0);
++ }
++ else
+ if (p && q && !strcasecmp(p, "Content-Type") &&
+ (q = strcasestr(q, "charset")) != NULL) {
+ q += 7;
+diff -urN w3m-0.5.3/html.c w3m/html.c
+--- w3m-0.5.3/html.c 2011-01-04 18:22:21.000000000 +0900
++++ w3m/html.c 2012-05-22 22:11:44.000000000 +0900
+@@ -1,4 +1,4 @@
+-/* $Id: html.c,v 1.32 2010/08/14 01:29:40 htrb Exp $ */
++/* $Id: html.c,v 1.33 2012/05/22 09:45:56 inu Exp $ */
+ #include "html.h"
+
+ /* Define HTML Tag Infomation Table */
+@@ -37,8 +37,8 @@
+ ATTR_CELLPADDING, ATTR_VSPACE, ATTR_CORE
+ };
+ #define MAXA_TABLE MAXA_CORE + 6
+-unsigned char ALST_META[] = { ATTR_HTTP_EQUIV, ATTR_CONTENT, ATTR_CORE };
+-#define MAXA_META MAXA_CORE + 2
++unsigned char ALST_META[] = { ATTR_HTTP_EQUIV, ATTR_CONTENT, ATTR_CHARSET, ATTR_CORE };
++#define MAXA_META MAXA_CORE + 3
+ unsigned char ALST_FRAME[] = { ATTR_SRC, ATTR_NAME, ATTR_CORE };
+ #define MAXA_FRAME MAXA_CORE + 2
+ unsigned char ALST_FRAMESET[] = { ATTR_COLS, ATTR_ROWS, ATTR_CORE };
+diff -urN w3m-0.5.3/version.c.in w3m/version.c.in
+--- w3m-0.5.3/version.c.in 2011-01-15 16:52:48.000000000 +0900
++++ w3m/version.c.in 2012-05-22 22:11:44.000000000 +0900
+@@ -1,5 +1,5 @@
+-/* $Id: version.c.in,v 1.48 2011/01/15 07:52:48 inu Exp $ */
+-#define CURRENT_VERSION "w3m/0.5.3"
++/* $Id: version.c.in,v 1.49 2012/05/22 09:45:56 inu Exp $ */
++#define CURRENT_VERSION "w3m/0.5.3+cvs"
+
+ #ifndef FM_H
+ char *w3m_version = CURRENT_VERSION;
diff --git a/debian/patches/050_entity-h-clean.patch b/debian/patches/050_entity-h-clean.patch
deleted file mode 100644
index 694ec4d..0000000
--- a/debian/patches/050_entity-h-clean.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Description: Remove entity.h when `make clean'
- The file entity.h is regenerated at build time, so it should be
- removed when `make clean'.
-Forwarded: http://www.sic.med.tohoku.ac.jp/~satodai/w3m-dev/201102.month/4451.html
-Author: Tatsuya Kinoshita <tats@debian.org>
-
-diff -urN w3m-0.5.3.orig/Makefile.in w3m-0.5.3/Makefile.in
---- w3m-0.5.3.orig/Makefile.in 2011-01-04 18:22:18.000000000 +0900
-+++ w3m-0.5.3/Makefile.in 2011-02-06 15:58:12.000000000 +0900
-@@ -288,6 +288,7 @@
- clean: sweep
- -$(RM) -f *.o *.a $(TARGETS) mktable$(EXT)
- -$(RM) -f funcname.tab
-+ -$(RM) -f entity.h
- -$(RM) -f funcname.c funcname1.h funcname2.h tagtable.c functable.c
- -for dir in w3mimg libwc; \
- do \
diff --git a/debian/patches/series b/debian/patches/series
index 2d4e4d7..a2b3b65 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,7 +2,6 @@
020_button.patch
030_pager-s-option.patch
040_link_gcc45.patch
-050_entity-h-clean.patch
060_format-security.patch
070_glibc2.14.patch
080_gc72.patch