ports/55334: [patch]fix zhcon build error on 5.1 current

Liu Kang lazykang at hotmail.com
Thu Aug 7 05:20:11 UTC 2003


>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 at 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:



More information about the freebsd-ports-bugs mailing list