From owner-ports-jp@jp.freebsd.org  Wed Dec 22 04:56:04 1999
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id EAA73690;
	Wed, 22 Dec 1999 04:56:04 +0900 (JST)
	(envelope-from owner-ports-jp@jp.FreeBSD.org)
Received: from mail.af.airnet.ne.jp (mail.af.airnet.ne.jp [210.159.66.49])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id EAA73685
	for <ports-jp@jp.freebsd.org>; Wed, 22 Dec 1999 04:56:03 +0900 (JST)
	(envelope-from imura@cs.titech.ac.jp)
Received: from imura.cs.titech.ac.jp (tok308.airnet.ne.jp [210.159.89.52])
	by mail.af.airnet.ne.jp (8.8.8/3.6W/06/13/98-AF.AIRNET.NE.JP) with ESMTP id EAA16574
	for <ports-jp@jp.freebsd.org>; Wed, 22 Dec 1999 04:56:01 +0900
Posted-Date: Wed, 22 Dec 1999 04:55:24 +0900 (JST)
To: ports-jp@jp.freebsd.org
From: "R. Imura" <imura@cs.titech.ac.jp>
In-Reply-To: <87aen5f80g.fsf@nakaji.tutrp.tut.ac.jp>
References: <199912202203.HAA14983@pcat.heimat.gr.jp>
	<19991221083652I.imura@cs.titech.ac.jp>
	<87aen5f80g.fsf@nakaji.tutrp.tut.ac.jp>
X-Mailer: Mew version 1.94b20 on Emacs 19.34 / Mule 2.3
 =?iso-2022-jp?B?KBskQkt2RSYyVhsoQik=?=
X-Prom-Mew: Prom-Mew 1.93.4 (procmail reader for Mew)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Message-Id: <19991222045523I.imura@cs.titech.ac.jp>
Date: Wed, 22 Dec 1999 04:55:23 +0900
X-Dispatcher: imput version 990401(IM113)
Lines: 43
Reply-To: ports-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+990727
X-Sequence: ports-jp 8433
Subject: [ports-jp 8433] Re: kde11-i18n fails at
 net/kdenetwork11-i18n.
Errors-To: owner-ports-jp@jp.freebsd.org
Sender: owner-ports-jp@jp.freebsd.org
X-Originator: imura@cs.titech.ac.jp

> $BCf<#(B@$BK-66$G$9!#(B

> $B0fB<$5$s(B> $B$I$&$7$h$&$+$N!D!#(B
> 
> $B$h$7$J$K$*4j$$$7$^$9!#(B(^^;


$B$=$l$G$O$"$?$i$7$$(B patch-ba $B$r$P(B($B$F$-$H$&!#!#!#(B)

--- kfinger/finger.C.orig	Thu Aug 12 20:01:29 1999
+++ kfinger/finger.C	Wed Dec 22 04:46:54 1999
@@ -13,10 +13,10 @@
 */
 #include <netdb.h>
 #include <sys/types.h>
+#include <sys/time.h>
 #include <sys/socket.h>
 #include <sys/resource.h>
 #include <stdlib.h>
-#include <sys/time.h>
 #include <fcntl.h>
 #include <kapp.h>
 #include "finger.h"
@@ -135,7 +135,18 @@
 
 int FingerProtocol::writeString(QString st) 
 {
-    unsigned int len;
+#ifdef __FreeBSD__
+#include <osreldate.h>
+# if __FreeBSD_version >= 400013
+    typedef socklen_t    ksocklen_t;
+# else
+    typedef int          ksocklen_t;
+# endif
+#else
+    typedef unsigned int ksocklen_t;
+#endif
+
+    ksocklen_t len;
 
     char    val=0; 
     getsockopt(sock,SOL_SOCKET,SO_ERROR,(void*)&val,&len );                   
