Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Aug 2003 13:15:06 +0800
From:      "Liu Kang" <lazykang@hotmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/55334: [patch]fix zhcon build error on 5.1 current
Message-ID:  <BAY8-F122gQKMbUYJ8800038600@hotmail.com>
Resent-Message-ID: <200308070520.h775KAqH008228@freefall.freebsd.org>

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

>Number:         55334
>Category:       ports
>Synopsis:       fix zhcon build error on 5.1 current
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 06 22:20:09 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kang Liu
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
Beijing University of Technology
>Environment:
System: FreeBSD testipfw.bjpu.edu.cn 5.1-CURRENT FreeBSD 5.1-CURRENT #8: 
Mon Aug 4 23:37:18 CST 2003 
root@testipfw.bjpu.edu.cn:/usr/obj/usr/src/sys/IPFW i386
>Description:
ports/chinese/zhcon can not be built on 5.1 current, beacuse of the 
sourcecode is not compatible with  new compiler.
>How-To-Repeat:
        run "make" at ports/chinese/zhcon on a 5.1 current machine.
>Fix:
--- /dev/null	Thu Aug  7 13:03:08 2003
+++ files/patch-src::global.h	Thu Aug  7 13:02:35 2003
@@ -0,0 +1,11 @@
+--- src/global.h.orig   Thu Aug  7 12:54:31 2003
++++ src/global.h        Thu Aug  7 12:54:46 2003
+@@ -26,7 +26,7 @@
+ //#endif
+ #define _(String) gettext (String)
+ #define gettext_noop(String) (String)
+-
++#include <assert.h>
+ #include "graphdev.h"
+ #include "hzdecoder.h"
+ //class Console;

_________________________________________________________________
享用世界上最大的电子邮件系统— MSN Hotmail。  http://www.hotmail.com  

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



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