Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Dec 2004 11:34:57 +0800 (CST)
From:      statue <statue@freebsd.netlab.cse.yzu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/74659: Update port: chinese/cce
Message-ID:  <200412040334.iB43Yv88099612@freebsd.netlab.cse.yzu.edu.tw>
Resent-Message-ID: <200412040340.iB43e9j5003841@freefall.freebsd.org>

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

>Number:         74659
>Category:       ports
>Synopsis:       Update port: chinese/cce
>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:   Sat Dec 04 03:40:09 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     statue
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
>Environment:
System: FreeBSD freebsd.netlab.cse.yzu.edu.tw 4.10-STABLE FreeBSD 4.10-STABLE #1: Tue Jun 1 18:37:58 CST 2004 statue@freebsd.netlab.cse.yzu.edu.tw:/usr/obj/usr/src/sys/statue i386


	
>Description:
fix cce run error.
	
>How-To-Repeat:
	
>Fix:

diff -ruN cce.orig/files/patch-src::term::term.c cce/files/patch-src::term::term.c
--- cce.orig/files/patch-src::term::term.c	Thu Jan  1 08:00:00 1970
+++ cce/files/patch-src::term::term.c	Sat Dec  4 11:31:17 2004
@@ -0,0 +1,17 @@
+--- src/term/term.c.orig	Mon Jan 19 04:22:51 2004
++++ src/term/term.c	Sat Dec  4 11:29:39 2004
+@@ -541,12 +541,14 @@
+ 		if (!GGIAvail && !UseSDLFirst) SDLAvail = IsSDLAvailable();
+ #endif
+ 	
++#if defined(SUPPORT_GGILIB) || defined(SUPPORT_SDLLIB)
+ 		if (!GGIAvail && !SDLAvail)
+ 		{
+ #if !defined(DEBUG) 
+ 			fatal("No GGI/SDL found, you can only run CCE in text console.\n");
+ #endif /* DEBUG */
+ 		}
++#endif
+ 	}
+ 
+ #endif /* __MSDOS__ */
	


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



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