Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 2002 18:26:47 +0800 (CST)
From:      Statue <statue@freebsd.sinica.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/45709: Update port: chinese/cce
Message-ID:  <20021125102647.452C4DE@freebsd.sinica.edu.tw>

next in thread | raw e-mail | index | archive | help

>Number:         45709
>Category:       ports
>Synopsis:       Update port: chinese/cce
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 25 02:30:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Statue
>Release:        FreeBSD 4.7-PRERELEASE i386
>Organization:
[MAINTAINER]
>Environment:
System: FreeBSD freebsd.sinica.edu.tw 4.7-PRERELEASE FreeBSD 4.7-PRERELEASE #2: Mon Sep 9 10:45:46 CST 2002 ycheng@freebsd.sinica.edu.tw:/usr/src/sys/compile/GENERIC i386


	
>Description:
fix -current build error
	
>How-To-Repeat:
	
>Fix:

diff -ruN cce.orig/Makefile cce/Makefile
--- cce.orig/Makefile	Mon Nov 25 16:11:06 2002
+++ cce/Makefile	Mon Nov 25 17:16:38 2002
@@ -20,6 +20,7 @@
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 USE_REINPLACE=	yes
+REINPLACE_ARGS=	# empty
 
 MAN1=		cce.1
 
@@ -29,6 +30,9 @@
 .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 -ruN cce.orig/files/patch-inputs::hzinput.h cce/files/patch-inputs::hzinput.h
--- cce.orig/files/patch-inputs::hzinput.h	Thu Jan  1 08:00:00 1970
+++ cce/files/patch-inputs::hzinput.h	Mon Nov 25 18:01:05 2002
@@ -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);
	


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021125102647.452C4DE>