From dbde37311e4981decc95b3f6a98f2c8ff7a82a0d Mon Sep 17 00:00:00 2001 From: Tatsuya Kinoshita Date: Sat, 6 Dec 2014 18:04:48 +0900 Subject: New patch 430_no-ascii-default.patch to set alt_entity=0 by default --- debian/patches/430_no-ascii-default.patch | 21 +++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 22 insertions(+) create mode 100644 debian/patches/430_no-ascii-default.patch diff --git a/debian/patches/430_no-ascii-default.patch b/debian/patches/430_no-ascii-default.patch new file mode 100644 index 0000000..83d196f --- /dev/null +++ b/debian/patches/430_no-ascii-default.patch @@ -0,0 +1,21 @@ +Subject: Change the default to alt_entity=0 +Author: Olaf Dabrunz +Origin: https://build.opensuse.org/package/view_file/openSUSE:Factory/w3m/w3m-0.5.1-no-ASCII-equivalents-by-default.patch?expand=1 +Bug-Novell: https://bugzilla.novell.com/show_bug.cgi?id=247397 + + change the default for the option "Use ASCII equivalents to + display entities" from YES to NO. + +diff --git a/fm.h b/fm.h +index 149a02f..49af0e4 100644 +--- a/fm.h ++++ b/fm.h +@@ -1089,7 +1089,7 @@ global char SimplePreserveSpace init(FALSE); + #define wc_Str_conv(x,charset0,charset1) (x) + #define wc_Str_conv_strict(x,charset0,charset1) (x) + #endif +-global char UseAltEntity init(TRUE); ++global char UseAltEntity init(FALSE); + #define GRAPHIC_CHAR_ASCII 2 + #define GRAPHIC_CHAR_DEC 1 + #define GRAPHIC_CHAR_CHARSET 0 diff --git a/debian/patches/series b/debian/patches/series index 240202e..9096412 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -41,6 +41,7 @@ 400_w3m-img-freebsd.patch 410_textarea-segfault.patch 420_uninitialized.patch +430_no-ascii-default.patch 800_lang-en.patch 810_lang-de.patch 820_lang-ja.patch -- cgit v1.2.3