mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Unbreak
This commit is contained in:
parent
85bd011bc7
commit
3ee60a3728
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361985
@ -7,8 +7,6 @@ CATEGORIES= chinese
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
||||
BROKEN= Fails to patch
|
||||
|
||||
EXTRA_PATCHES= ${.CURDIR}/files/patch-attrib.c \
|
||||
${.CURDIR}/files/patch-cook.c \
|
||||
${.CURDIR}/files/patch-mail.c \
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- src/attrib.c.orig 2011-09-18 04:55:30.000000000 -0700
|
||||
+++ src/attrib.c 2012-01-02 03:14:00.000000000 -0800
|
||||
@@ -548,6 +548,9 @@
|
||||
--- src/attrib.c.orig 2014-07-16 00:41:51.940655746 +0800
|
||||
+++ src/attrib.c 2014-07-16 00:43:36.205651630 +0800
|
||||
@@ -583,6 +583,9 @@
|
||||
add_scope("*");
|
||||
snprintf(buf, sizeof(buf), "%s", "~/.tin/headers");
|
||||
set_attrib(OPT_ATTRIB_X_HEADERS, "*", "", buf);
|
||||
|
@ -1,11 +1,11 @@
|
||||
--- src/cook.c.orig 2011-08-18 03:58:24.288554846 +0800
|
||||
+++ src/cook.c 2011-08-18 13:36:23.791151539 +0800
|
||||
@@ -472,7 +472,12 @@
|
||||
break; /* premature end of file, file error etc. */
|
||||
--- src/cook.c.orig 2014-07-16 00:43:47.656653653 +0800
|
||||
+++ src/cook.c 2014-07-16 00:47:26.498655673 +0800
|
||||
@@ -471,7 +471,12 @@
|
||||
|
||||
/* convert network to local charset, tex2iso, iso2asc etc. */
|
||||
ncharset = get_param(part->params, "charset");
|
||||
+#ifndef CHARSET_CONVERSION
|
||||
process_charsets(&line, &max_line_len, get_param(part->params, "charset"), tinrc.mm_local_charset, curr_group->attribute->tex2iso_conv && art->tex2iso);
|
||||
process_charsets(&line, &max_line_len, ncharset ? ncharset : "US-ASCII" , tinrc.mm_local_charset, curr_group->attribute->tex2iso_conv && art->tex2iso);
|
||||
+#else
|
||||
+ /* use undeclared charset */
|
||||
+ process_charsets(&line, &max_line_len, get_param(part->params, "charset") ? get_param(part->params, "charset") : curr_group->attribute->undeclared_charset, tinrc.mm_local_charset, curr_group->attribute->tex2iso_conv && art->tex2iso);
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- src/init.c.orig 2011-08-18 12:58:08.564585495 +0800
|
||||
+++ src/init.c 2011-08-18 12:58:30.264685035 +0800
|
||||
@@ -354,11 +354,11 @@
|
||||
--- src/init.c.orig 2014-07-16 00:47:37.352661040 +0800
|
||||
+++ src/init.c 2014-07-16 00:48:08.424652944 +0800
|
||||
@@ -361,11 +361,11 @@
|
||||
#endif /* USE_INVERSE_HACK */
|
||||
TRUE, /* keep_dead_articles */
|
||||
POSTED_FILE, /* posted_articles_file */
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- src/mail.c.orig 2011-04-17 15:14:00.000000000 -0700
|
||||
+++ src/mail.c 2012-01-02 05:08:38.000000000 -0800
|
||||
@@ -510,7 +510,12 @@
|
||||
--- src/mail.c.orig 2014-07-16 00:48:14.918652518 +0800
|
||||
+++ src/mail.c 2014-07-16 00:48:50.462660253 +0800
|
||||
@@ -514,7 +514,11 @@
|
||||
/*
|
||||
* Protect against invalid character sequences.
|
||||
*/
|
||||
@ -9,7 +9,6 @@
|
||||
+#else
|
||||
+ process_charsets(&r, &r_len, (CURR_GROUP.attribute->undeclared_charset) ? (CURR_GROUP.attribute->undeclared_charset) : "UTF-8", tinrc.mm_local_charset, FALSE);
|
||||
+#endif
|
||||
+
|
||||
group->description = convert_to_printable(r, FALSE);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user