ports/122541: [PATCH] net/tintin++-devel: fix build with Big5 enabled, take maintainership
Sunpoet Po-Chuan Hsieh
sunpoet at sunpoet.net
Mon Apr 7 18:30:01 UTC 2008
>Number: 122541
>Category: ports
>Synopsis: [PATCH] net/tintin++-devel: fix build with Big5 enabled, take maintainership
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 07 18:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Sunpoet Po-Chuan Hsieh
>Release: FreeBSD 6.3-STABLE i386
>Organization:
SUNPOET.net
>Environment:
System: FreeBSD IRIS.sunpoet.net 6.3-STABLE FreeBSD 6.3-STABLE #16: Fri Feb 22 08:37:15 CST 2008 sunpoet at IRIS.sunpoet.net:/usr/obj/usr/src/sys/sunpoet i386
>Description:
1. fix build with Big5 enabled (chinese/tintin++)
2. take maintainership
>How-To-Repeat:
% cd /usr/ports/chinese/tintin++
...
===> Building for zh-tintin-1.98.1
cc -Wall -O2 -pipe -s -msse -msse2 -march=pentium4 -fno-strict-aliasing -D_GNU_SOURCE -DHAVE_CONFIG_H -DBIG5 -c action.c
cc -Wall -O2 -pipe -s -msse -msse2 -march=pentium4 -fno-strict-aliasing -D_GNU_SOURCE -DHAVE_CONFIG_H -DBIG5 -c alias.c
cc -Wall -O2 -pipe -s -msse -msse2 -march=pentium4 -fno-strict-aliasing -D_GNU_SOURCE -DHAVE_CONFIG_H -DBIG5 -c files.c
cc -Wall -O2 -pipe -s -msse -msse2 -march=pentium4 -fno-strict-aliasing -D_GNU_SOURCE -DHAVE_CONFIG_H -DBIG5 -c help.c
cc -Wall -O2 -pipe -s -msse -msse2 -march=pentium4 -fno-strict-aliasing -D_GNU_SOURCE -DHAVE_CONFIG_H -DBIG5 -c highlight.c
cc -Wall -O2 -pipe -s -msse -msse2 -march=pentium4 -fno-strict-aliasing -D_GNU_SOURCE -DHAVE_CONFIG_H -DBIG5 -c strhash.c
cc -Wall -O2 -pipe -s -msse -msse2 -march=pentium4 -fno-strict-aliasing -D_GNU_SOURCE -DHAVE_CONFIG_H -DBIG5 -c llist.c
cc -Wall -O2 -pipe -s -msse -msse2 -march=pentium4 -fno-strict-aliasing -D_GNU_SOURCE -DHAVE_CONFIG_H -DBIG5 -c log.c
cc -Wall -O2 -pipe -s -msse -msse2 -march=pentium4 -fno-strict-aliasing -D_GNU_SOURCE -DHAVE_CONFIG_H -DBIG5 -c main.c
cc -Wall -O2 -pipe -s -msse -msse2 -march=pentium4 -fno-strict-aliasing -D_GNU_SOURCE -DHAVE_CONFIG_H -DBIG5 -c misc.c
misc.c: In function `do_parse':
misc.c:293: error: syntax error before ')' token
gmake: *** [misc.o] Error 1
*** Error code 2
Stop in /usr/ports/chinese/tintin++.
*** Error code 1
Stop in /usr/ports/chinese/tintin++.
>Fix:
diff -ruN /usr/ports/net/tintin++-devel/Makefile /usr/ports/sunpoet/tintin++-devel/Makefile
--- /usr/ports/net/tintin++-devel/Makefile 2008-04-07 17:14:59.000000000 +0800
+++ /usr/ports/sunpoet/tintin++-devel/Makefile 2008-04-07 18:14:11.000000000 +0800
@@ -11,7 +11,7 @@
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER?= ports at FreeBSD.org
+MAINTAINER?= sunpoet at sunpoet.net
COMMENT= A client program to help playing muds (devel version)
LATEST_LINK= ${PORTNAME}-devel
@@ -23,7 +23,7 @@
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 +32,7 @@
${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
diff -ruN /usr/ports/net/tintin++-devel/files/patch-misc.c /usr/ports/sunpoet/tintin++-devel/files/patch-misc.c
--- /usr/ports/net/tintin++-devel/files/patch-misc.c 1970-01-01 08:00:00.000000000 +0800
+++ /usr/ports/sunpoet/tintin++-devel/files/patch-misc.c 2008-04-07 18:10:45.000000000 +0800
@@ -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
+ {
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list