Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  4 Mar 2003 01:51:25 +0800 (CST)
From:      Yen-Ming Lee <leeym@utopia.leeym.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/48892: fix port: net/dictd
Message-ID:  <20030303175125.9329C3EAE8A@utopia.leeym.com>

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

>Number:         48892
>Category:       ports
>Synopsis:       fix port: net/dictd
>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:   Mon Mar 03 10:00:21 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 5.0-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD utopia.leeym.com 5.0-RELEASE-p3 FreeBSD 5.0-RELEASE-p3 #41: Sun Mar 2 05:56:42 CST 2003 root@utopia.leeym.com:/mnt/obj/usr/src/sys/UTOPIA i386


	
>Description:
	
unbreak chinese/dictd (net/dictd's slave port)

please #include <sys/param.h> before use variable __FreeBSD_version
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-versions.html
>How-To-Repeat:
http://bento.freebsd.org/errorlogs/i386-5-full/zh-tw-dictd-1.8.0.log

>Fix:

	

--- dictd.diff begins here ---
Index: files/patch-break-utf8
===================================================================
RCS file: /home/pcvs/ports/net/dictd/files/patch-break-utf8,v
retrieving revision 1.1
diff -u -r1.1 patch-break-utf8
--- files/patch-break-utf8	22 Dec 2002 10:25:18 -0000	1.1
+++ files/patch-break-utf8	3 Mar 2003 17:45:29 -0000
@@ -73,7 +73,8 @@
 diff -ru ../dictd-freebsd/utf8_ucs4.c ./utf8_ucs4.c
 --- ../dictd-freebsd/utf8_ucs4.c	Sun Nov 24 09:35:55 2002
 +++ ./utf8_ucs4.c	Sun Dec  1 22:44:40 2002
-@@ -1,3 +1,4 @@
+@@ -1,3 +1,5 @@
++#include <sys/param.h>
 +#if __FreeBSD_version > 499999
  #include <wctype.h>
  #include <stdlib.h>
@@ -86,7 +87,8 @@
 diff -ru ../dictd-freebsd/utf8_ucs4.h ./utf8_ucs4.h
 --- ../dictd-freebsd/utf8_ucs4.h	Sun Nov 24 09:35:55 2002
 +++ ./utf8_ucs4.h	Sun Dec  1 22:26:15 2002
-@@ -1,3 +1,4 @@
+@@ -1,3 +1,5 @@
++#include <sys/param.h>
 +#if __FreeBSD_version > 499999
  #ifndef _UTF8_UCS4_H_
  #define _UTF8_UCS4_H_
--- dictd.diff ends here ---


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

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




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