diff options
author | edwin <edwin@FreeBSD.org> | 2003-01-03 02:08:16 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-01-03 02:08:16 +0000 |
commit | ba3752d06f19ca6ce26bbb7735531141e1e0da4c (patch) | |
tree | b0f51344a08d1fa83cdd15315c9ac7eeed46e8cc /chinese/cce | |
parent | d143b4e813853b5cfe45063bdece0410c09893e6 (diff) | |
download | FreeBSD-ports-ba3752d06f19ca6ce26bbb7735531141e1e0da4c.zip FreeBSD-ports-ba3752d06f19ca6ce26bbb7735531141e1e0da4c.tar.gz |
fix -current build error
PR: ports/45709
Submitted by: Statue <statue@freebsd.sinica.edu.tw>
Diffstat (limited to 'chinese/cce')
-rw-r--r-- | chinese/cce/Makefile | 6 | ||||
-rw-r--r-- | chinese/cce/files/patch-inputs::hzinput.h | 11 |
2 files changed, 16 insertions, 1 deletions
diff --git a/chinese/cce/Makefile b/chinese/cce/Makefile index 4a475bd..eaff312 100644 --- a/chinese/cce/Makefile +++ b/chinese/cce/Makefile @@ -20,6 +20,7 @@ MAINTAINER= statue@freebsd.sinica.edu.tw WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USE_REINPLACE= yes +REINPLACE_ARGS= # empty MAN1= cce.1 @@ -29,6 +30,9 @@ pre-configure: .include <bsd.port.pre.mk> post-patch: .if ${OSVERSION} > 500012 - @${FIND} ${WRKSRC}/src/ -name "*.c" | ${XARGS} ${REINPLACE_CMD} -e 's,machine/console.h>,sys/consio.h>\n#include <sys/fbio.h>\n#include <sys/kbio.h>\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 <sys/fbio.h>@#include <sys/kbio.h>@," ${WRKSRC}/${i}| tr '@' '\n' > ${WRKSRC}/${i}.bakk && \ + ${MV} ${WRKSRC}/${i}.bakk ${WRKSRC}/${i} +.endfor .endif .include <bsd.port.post.mk> diff --git a/chinese/cce/files/patch-inputs::hzinput.h b/chinese/cce/files/patch-inputs::hzinput.h new file mode 100644 index 0000000..734eaec --- /dev/null +++ b/chinese/cce/files/patch-inputs::hzinput.h @@ -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); |