1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

1. fix build with Big5 enabled (chinese/tintin++)

2. take maintainership
- the distfile is re-rolled (but no log in Changes :-/)
- bump PORTREVISION

PR:		ports/122541
Submitted by:	maintainer (Sunpoet Po-Chuan Hsieh)
This commit is contained in:
Cheng-Lung Sung 2008-04-09 08:59:47 +00:00
parent 790d949059
commit d2563f4f50
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=210914
3 changed files with 18 additions and 6 deletions

View File

@ -7,11 +7,12 @@
PORTNAME= tintin
PORTVERSION= 1.98.1
PORTREVISION= 1
CATEGORIES+= net games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER?= ports@FreeBSD.org
MAINTAINER?= sunpoet@sunpoet.net
COMMENT= A client program to help playing muds (devel version)
LATEST_LINK= ${PORTNAME}-devel
@ -23,7 +24,7 @@ USE_GMAKE= yes
USE_GCC= 3.2+
PLIST_FILES= bin/tt++
PORTDOCS= BUGS CREDITS FAQ README TODO tintin19.txt chat_protocol.txt
PORTDOCS= BUGS CREDITS FAQ README TODO chat_protocol.txt tintin19.txt
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' ${WRKSRC}/Makefile.in
@ -32,7 +33,7 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tt++ ${PREFIX}/bin
.ifndef NOPORTDOCS
${MKDIR} ${DOCSDIR}
.for i in FAQ README TODO CREDITS BUGS docs/tintin19.txt docs/chat_protocol.txt
.for i in BUGS CREDITS FAQ README TODO docs/chat_protocol.txt docs/tintin19.txt
${INSTALL_DATA} ${WRKSRC}/../${i} ${DOCSDIR}
.endfor
.endif

View File

@ -1,3 +1,3 @@
MD5 (tintin-1.98.1.tar.gz) = 8ab7394fc34c9e37921846c124452c65
SHA256 (tintin-1.98.1.tar.gz) = 03e51698967b0ee2b667c6a2ad4e1327ac4eb0671df6dac2e4638be9cd0eeb40
SIZE (tintin-1.98.1.tar.gz) = 229561
MD5 (tintin-1.98.1.tar.gz) = 6715172aa800aa71938640528bb1cdbc
SHA256 (tintin-1.98.1.tar.gz) = b79ecbaf9e65cb290c5619c075c148c19f67d960d1ea6e2a0f5f56f5dec57a40
SIZE (tintin-1.98.1.tar.gz) = 229806

View File

@ -0,0 +1,11 @@
--- misc.c.orig 2008-04-04 06:38:59.000000000 +0800
+++ misc.c 2008-04-07 17:48:56.000000000 +0800
@@ -290,7 +290,7 @@
#ifdef BIG5
if (left[cnt] & 0x80 && left[cnt+1] != 0)
{
- sprintf(temp, "%c%c", left[cnt], left[++cnt]));
+ sprintf(temp, "%c%c", left[cnt], left[++cnt]);
}
else
{