diff options
author | clive <clive@FreeBSD.org> | 2001-04-19 02:44:17 +0000 |
---|---|---|
committer | clive <clive@FreeBSD.org> | 2001-04-19 02:44:17 +0000 |
commit | 9ef3a38b2a6bfdb23da7aa570b3e1d4511e8be0b (patch) | |
tree | 05b8c4f3e82d5773e2c34ef0532ebd4e80d04156 /chinese/tin | |
parent | 962c7d9f747549802c3cb57bfa429d5a274b587f (diff) | |
download | FreeBSD-ports-9ef3a38b2a6bfdb23da7aa570b3e1d4511e8be0b.zip FreeBSD-ports-9ef3a38b2a6bfdb23da7aa570b3e1d4511e8be0b.tar.gz |
Essential line wrapping fix for embedded color assii art.
PORTREVISION bumped.
PR: 26691
Submitted by: Yen-Ming Lee <leeym@bsd.ce.ntu.edu.tw>
Approved by: MAINTAINER
Diffstat (limited to 'chinese/tin')
-rw-r--r-- | chinese/tin/Makefile | 4 | ||||
-rw-r--r-- | chinese/tin/files/patch-page.c | 20 |
2 files changed, 23 insertions, 1 deletions
diff --git a/chinese/tin/Makefile b/chinese/tin/Makefile index aaecf59..57a750d 100644 --- a/chinese/tin/Makefile +++ b/chinese/tin/Makefile @@ -8,12 +8,14 @@ MASTERDIR= ${.CURDIR}/../../news/tin +PORTREVISION= 1 MAINTAINER= yssu@CCCA.NCTU.edu.tw EXTRA_PATCHES= ${.CURDIR}/files/patch-charset.c \ ${.CURDIR}/files/patch-cook.c \ ${.CURDIR}/files/patch-init.c \ - ${.CURDIR}/files/patch-misc.c + ${.CURDIR}/files/patch-misc.c \ + ${.CURDIR}/files/patch-page.c .include "${MASTERDIR}/Makefile" diff --git a/chinese/tin/files/patch-page.c b/chinese/tin/files/patch-page.c new file mode 100644 index 0000000..10a7573 --- /dev/null +++ b/chinese/tin/files/patch-page.c @@ -0,0 +1,20 @@ +--- src/page.c.orig Wed Feb 21 03:18:52 2001 ++++ src/page.c Thu Apr 19 09:35:25 2001 +@@ -867,7 +867,7 @@ + curr = &artline[curr_line+i]; + fseek (note_fp, curr->offset, SEEK_SET); + +- fgets (buff, cCOLS+1, note_fp); ++ fgets (buff, MAXPATHLEN, note_fp); + + /* + * rotN encoding on body and sig data only +@@ -1186,7 +1186,7 @@ + + make_group_path (CURR_GROUP.name, group_path); + +- switch (art_open (TRUE, &arts[new_respnum], group_path, &pgart)) { ++ switch (art_open (FALSE, &arts[new_respnum], group_path, &pgart)) { + + case ART_UNAVAILABLE: + art_mark_read (&CURR_GROUP, &arts[new_respnum]); |