Date: Sun, 20 Feb 2000 22:15:56 +0900 (JST) From: sumikawa@ebina.hitachi.co.jp To: dgilbert@velocet.ca Cc: sumikawa@ebina.hitachi.co.jp Subject: Re: ipv6 default in current ports? Message-ID: <200002201315.WAA10583@prince.net.ebina.hitachi.co.jp> In-Reply-To: <14509.52933.883241.459866@trooper.velocet.net> References: <14509.50981.963519.987797@trooper.velocet.net> <20000218145710.A831@norn.ca.eu.org> <14509.52933.883241.459866@trooper.velocet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Chris> It doesn't need kernel support to build with ipv6 support. Chris> Trying to use the ipv6 support without it in the kernel is the Chris> only problem. dgilbert> Well... ruby refuses to build with IPv6 if it's not enabled and mtr dgilbert> dies with a "cannot open socket". dgilbert> In escence, both ports (and possibly others) don't work in 4.0 without dgilbert> INET6 in your kernel. Thanks for the reporting. I attach the patch for ruby. I've already send it to the maintainer. As for mtr, I'll check it. --- Munechika SUMIKAWA @ KAME Project / FreeBSD.org Index: patches/patch-aa =================================================================== RCS file: /home/ncvs/ports/lang/ruby/patches/patch-aa,v retrieving revision 1.1 diff -u -r1.1 patch-aa --- patches/patch-aa 2000/01/12 19:16:44 1.1 +++ patches/patch-aa 2000/02/20 13:06:46 @@ -1,5 +1,5 @@ --- ext/socket/extconf.rb.orig Fri Oct 29 13:45:41 1999 -+++ ext/socket/extconf.rb Wed Jan 12 17:15:03 2000 ++++ ext/socket/extconf.rb Sun Feb 20 22:04:32 2000 @@ -57,8 +57,6 @@ #endif EOF @@ -9,3 +9,14 @@ $CFLAGS="-DINET6 "+$CFLAGS elsif File.directory? "/usr/inet6" $ipv6type = "linux" +@@ -225,7 +223,9 @@ + } + } + +- if (inet6 != 2 || inet4 != 2) ++ if (!(inet4 == 0 || inet4 == 2)) ++ goto bad; ++ if (!(inet6 == 0 || inet6 == 2)) + goto bad; + + if (aitop) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002201315.WAA10583>