Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Sep 2003 01:05:49 +0800 (CST)
From:      Statue <statue@freebsd.sinica.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/57257: Update port: chinese/kon2
Message-ID:  <20030926170549.E95F3AF0@freebsd.sinica.edu.tw>
Resent-Message-ID: <200309261710.h8QHAFvx042224@freefall.freebsd.org>

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

>Number:         57257
>Category:       ports
>Synopsis:       Update port: chinese/kon2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 26 10:10:15 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Statue
>Release:        FreeBSD 4.9-PRERELEASE i386
>Organization:
[MAINTAINER]
>Environment:
System: FreeBSD freebsd.sinica.edu.tw 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #4: Mon Sep 15 18:44:48 CST 2003 root@freebsd.sinica.edu.tw:/usr/src/sys/compile/GENERIC i386


	
>Description:
for 5.x, add a patch to modify /dev/vga to /dev/ttyv0
	
>How-To-Repeat:
	
>Fix:

diff -ruN kon2.orig/Makefile kon2/Makefile
--- kon2.orig/Makefile	Sat Sep 27 00:34:34 2003
+++ kon2/Makefile	Sat Sep 27 00:36:55 2003
@@ -32,6 +32,8 @@
 		-e "s,GB2312.1980,GBK,g" \
 		${WRKSRC}/lib/coding.c
 	cd ${WRKSRC} && ${PATCH} < ${.CURDIR}/files/kon.cfg.FreeBSD-patch
+	${REINPLACE_CMD} -e 's,/dev/vga,/dev/ttyv0,g' ${WRKSRC}/src/term.c \
+		${WRKSRC}/src/display/vga.c
 
 pre-install:
 	${MKDIR} ${PREFIX}/share/fonts/bdf
	


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



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