Index: head/chinese/cce/Makefile =================================================================== --- head/chinese/cce/Makefile (revision 72322) +++ head/chinese/cce/Makefile (revision 72323) @@ -1,34 +1,38 @@ # New ports collection makefile for: cce # Date created: 10 Mar 2001 # Whom: Shen Chuan-Hsing # # $FreeBSD$ # PORTNAME= cce PORTVERSION= 0.36 CATEGORIES= chinese MASTER_SITES= http://programmer.lib.sjtu.edu.cn/cce/ \ ftp://freebsd.sinica.edu.tw/pub/statue/cce/ DISTNAME= ${PORTNAME}-${PORTVERSION}-05052000 PATCH_SITES= ${MASTER_SITES} PATCHFILES= cce-0.36_security.ukai-lin-fok.patch.gz PATCH_DIST_ARGS= -d ${WRKSRC} -p1 MAINTAINER= statue@freebsd.sinica.edu.tw WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USE_REINPLACE= yes +REINPLACE_ARGS= # empty MAN1= cce.1 pre-configure: (cd ${WRKSRC} && ${LN} -fs Makefile.FreeBSD Makefile ) .include post-patch: .if ${OSVERSION} > 500012 - @${FIND} ${WRKSRC}/src/ -name "*.c" | ${XARGS} ${REINPLACE_CMD} -e 's,machine/console.h>,sys/consio.h>\n#include \n#include \n,' +.for i in src/key.c src/main.c src/term.c src/vc.c src/vga.c + ${REINPLACE_CMD} "s,machine/console.h>,sys/consio.h>@#include @#include @," ${WRKSRC}/${i}| tr '@' '\n' > ${WRKSRC}/${i}.bakk && \ + ${MV} ${WRKSRC}/${i}.bakk ${WRKSRC}/${i} +.endfor .endif .include Property changes on: head/chinese/cce/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property Index: head/chinese/cce/files/patch-inputs::hzinput.h =================================================================== --- head/chinese/cce/files/patch-inputs::hzinput.h (nonexistent) +++ head/chinese/cce/files/patch-inputs::hzinput.h (revision 72323) @@ -0,0 +1,11 @@ +--- inputs/hzinput.h.orig Mon Nov 25 18:00:10 2002 ++++ inputs/hzinput.h Mon Nov 25 17:59:37 2002 +@@ -86,7 +86,7 @@ + } hz_input_table; + + /************ private functions *******************/ +-void InputAreaOutput(int x, u_char *string, int fg, int bg); ++/*void InputAreaOutput(int x, u_char *string, int fg, int bg);*/ + void FindMatchKey(void); + void FillMatchChars(int j); + void FillAssociateChars(int index); Property changes on: head/chinese/cce/files/patch-inputs::hzinput.h ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property