Commit 82ae7cb2 authored by Daniel Engberg's avatar Daniel Engberg
Browse files

chinese/tin: Remove port

Unmaintained in tree for years and has failed to build (patch stage) for
months
parent d7d7504d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3389,3 +3389,4 @@ sysutils/datadog-agent||2024-07-13|Has expired: Unfetchable and marked BROKEN fo
converters/i18ntools||2024-07-13|Has expired: Depends on expired converters/tuc
converters/tuc||2024-07-13|Has expired: Dead upstream and unfetchable
sysutils/ipfs-go|sysutils/kubo-go|2024-07-13|Project was renamed upstream
chinese/tin||2024-07-14|Removed, unmaintained and broken for months
+0 −1
Original line number Diff line number Diff line
@@ -126,7 +126,6 @@
    SUBDIR += sourcehanserif-sc-otf
    SUBDIR += sourcehanserif-tc-otf
    SUBDIR += taipeisanstc
    SUBDIR += tin
    SUBDIR += tintin++
    SUBDIR += ttf2pt1
    SUBDIR += ttfm

chinese/tin/Makefile

deleted100644 → 0
+0 −18
Original line number Diff line number Diff line
CATEGORIES=	chinese

MAINTAINER=	ports@FreeBSD.org

CONFLICTS_INSTALL=	tin # bin/metamutt

EXTRA_PATCHES=	${.CURDIR}/files/patch-attrib.c \
		${.CURDIR}/files/patch-cook.c \
		${.CURDIR}/files/patch-mail.c \
		${.CURDIR}/files/patch-init.c

MASTERDIR=	${.CURDIR}/../../news/tin

post-patch: post-patch-zh
post-patch-zh:
	${REINPLACE_CMD} -e 's,iso-8859-1,Big5,g' ${WRKSRC}/doc/tin.defaults

.include "${MASTERDIR}/Makefile"

chinese/tin/files/patch-attrib.c

deleted100644 → 0
+0 −12
Original line number Diff line number Diff line
--- src/attrib.c.orig	2015-11-22 01:14:29.000000000 +0100
+++ src/attrib.c	2016-02-21 20:49:48.322143000 +0100
@@ -593,6 +593,9 @@
 		add_scope("*");
 		snprintf(buf, sizeof(buf), "%s", "~/.tin/headers");
 		set_attrib(OPT_ATTRIB_X_HEADERS, "*", "", buf);
+		num = 25;
+		set_attrib(OPT_ATTRIB_MM_NETWORK_CHARSET, "*", "", (char *) &num);
+		set_attrib(OPT_ATTRIB_UNDECLARED_CHARSET, "*", "", "Big5");
 
 		add_scope("*sources*");
 		num = POST_PROC_SHAR;

chinese/tin/files/patch-cook.c

deleted100644 → 0
+0 −15
Original line number Diff line number Diff line
--- src/cook.c.orig	2015-12-23 19:42:27.000000000 +0100
+++ src/cook.c	2016-02-21 20:50:33.672278000 +0100
@@ -470,7 +470,12 @@
 
 		/* convert network to local charset, tex2iso, iso2asc etc. */
 		ncharset = get_param(part->params, "charset");
+#ifndef CHARSET_CONVERSION
 		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);
+#endif
 
 #if defined(MULTIBYTE_ABLE) && !defined(NO_LOCALE)
 		if (IS_LOCAL_CHARSET("UTF-8"))
Loading