Date: Wed, 14 Nov 2001 12:57:04 +0100 From: Ollivier Robert <roberto@eurocontrol.fr> To: dinoex@freebsd.org Cc: ports@freebsd.org Subject: Incomplete patch for tcl82/tcl83. Message-ID: <20011114125704.B16629@caerdonn.eurocontrol.fr>
next in thread | raw e-mail | index | archive | help
WRT to the following commit, the tclUnixSock.c diff is incomplete and leads to an undeclared variable « buffer ». Find here a diff to patch-tclUnixSock.c for both tcl82 and tcl83. dinoex 2001/11/14 00:44:08 PST Modified files: lang/tcl82 Makefile lang/tcl83 Makefile lang/tcl83/files patch-tmpnam Added files: lang/tcl82/files patch-tclUnixPipe.c patch-tclUnixSock.c lang/tcl83/files patch-tclUnixPipe.c patch-tclUnixSock.c Log: Tcl will get hostname using uname(3). It seems FreeBSD's uname(3) returns only 31 letters by /usr/include/sys/utsname.h. Tcl 8.3 : Index: patch-tclUnixSock.c =================================================================== RCS file: /home/ncvs/ports/lang/tcl83/files/patch-tclUnixSock.c,v retrieving revision 1.1 diff -u -2 -r1.1 patch-tclUnixSock.c --- patch-tclUnixSock.c 14 Nov 2001 08:44:08 -0000 1.1 +++ patch-tclUnixSock.c 14 Nov 2001 11:50:21 -0000 @@ -1,4 +1,13 @@ --- tclUnixSock.c.orig Fri Apr 16 02:48:05 1999 -+++ tclUnixSock.c Wed Nov 14 09:25:20 2001 ++++ tclUnixSock.c Wed Nov 14 12:49:15 2001 +@@ -65,7 +65,7 @@ + char * + Tcl_GetHostName() + { +-#ifndef NO_UNAME ++#if 0 + struct utsname u; + struct hostent *hp; + #else @@ -80,7 +80,7 @@ } Tcl 8.2 : Index: patch-tclUnixSock.c =================================================================== RCS file: /home/ncvs/ports/lang/tcl82/files/patch-tclUnixSock.c,v retrieving revision 1.1 diff -u -2 -r1.1 patch-tclUnixSock.c --- patch-tclUnixSock.c 14 Nov 2001 08:44:04 -0000 1.1 +++ patch-tclUnixSock.c 14 Nov 2001 11:50:38 -0000 @@ -1,4 +1,13 @@ --- tclUnixSock.c.orig Fri Apr 16 02:48:05 1999 -+++ tclUnixSock.c Wed Nov 14 09:25:20 2001 ++++ tclUnixSock.c Wed Nov 14 12:49:32 2001 +@@ -65,7 +65,7 @@ + char * + Tcl_GetHostName() + { +-#ifndef NO_UNAME ++#if 0 + struct utsname u; + struct hostent *hp; + #else @@ -80,7 +80,7 @@ } -- Ollivier ROBERT -=- Eurocontrol EEC/ITM -=- Ollivier.Robert@eurocontrol.fr FreeBSD caerdonn.eurocontrol.fr 5.0-CURRENT #46: Wed Jan 3 15:52:00 CET 2001 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011114125704.B16629>