From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Mar 2 03:10:19 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 780F216A4CE for ; Tue, 2 Mar 2004 03:10:19 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5343E43D5C for ; Tue, 2 Mar 2004 03:10:19 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i22BAJbv077864 for ; Tue, 2 Mar 2004 03:10:19 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i22BAIKn077863; Tue, 2 Mar 2004 03:10:18 -0800 (PST) (envelope-from gnats) Resent-Date: Tue, 2 Mar 2004 03:10:18 -0800 (PST) Resent-Message-Id: <200403021110.i22BAIKn077863@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Simon Barner Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5DB1516A4CE; Tue, 2 Mar 2004 03:03:33 -0800 (PST) Received: from mailout1.informatik.tu-muenchen.de (mailout1.informatik.tu-muenchen.de [131.159.0.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6ED4A43D2D; Tue, 2 Mar 2004 03:03:32 -0800 (PST) (envelope-from barner@in.tum.de) Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id E217A56B3; Tue, 2 Mar 2004 12:03:30 +0100 (CET) Message-Id: <20040302110330.E217A56B3@zi025.glhnet.mhn.de> Date: Tue, 2 Mar 2004 12:03:30 +0100 (CET) From: Simon Barner To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: x11@FreeBSD.org Subject: ports/63637: [patch] x11-servers/XFree86-4-Server-snap: Add WITHOUT_IPV6 knob X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Simon Barner List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 11:10:19 -0000 >Number: 63637 >Category: ports >Synopsis: [patch] x11-servers/XFree86-4-Server-snap: Add WITHOUT_IPV6 knob >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Mar 02 03:10:18 PST 2004 >Closed-Date: >Last-Modified: >Originator: Simon Barner >Release: FreeBSD 4.9 i386 >Organization: >Environment: System: FreeBSD zi025.glhnet.mhn.de 4.9-STABLE FreeBSD 4.9-STABLE #0: Tue Feb 10 01:57:14 CET 2004 simon@zi025.glhnet.mhn.de:/usr/src/sys/compile/KISTE i386 >Description: When I tried to run the lastest XFree86 server (4.3.99.15), it complained that IPv6 was not available, and it refused to start. Since switching to an IPv6-enabled kernel made XFree start again, I am sure that the lacking IPv6 support and not my upgrade from XFree 4.3.0_14 to the -snap version was the source of my trouble. The following patch adds an WITHOUT_IPV6 knob to the XFree86-4-Server-snap port (the port for 4.3.0 defaults to disable IPv6, so no patch is needed there). >How-To-Repeat: Try to run XFree86 4.3.9.15 on a kernel without IPv6 support. >Fix: Apply the following patch to the XFree86-4-Server-snap port, and rebuild it with `make -DWITHOUT_IPV6'. Index: Makefile =================================================================== RCS file: /home/ncvs/ports/x11-servers/XFree86-4-Server-snap/Makefile,v retrieving revision 1.150 diff -u -r1.150 Makefile --- Makefile 12 Feb 2004 20:16:05 -0000 1.150 +++ Makefile 2 Mar 2004 10:52:20 -0000 @@ -42,7 +42,8 @@ USE_BZIP2= yes SCRIPTS_ENV= OSVERSION=${OSVERSION} \ BuildXF86DRI=${BuildXF86DRI} \ - WITH_DEBUG="${WITH_DEBUG}" + WITH_DEBUG="${WITH_DEBUG}"\ + WITHOUT_IPV6="${WITHOUT_IPV6}" MAN1= XFree86.1 \ Xserver.1 \ gtf.1 \ Index: scripts/configure =================================================================== RCS file: /home/ncvs/ports/x11-servers/XFree86-4-Server-snap/scripts/configure,v retrieving revision 1.80 diff -u -r1.80 configure --- scripts/configure 13 Nov 2003 10:33:55 -0000 1.80 +++ scripts/configure 2 Mar 2004 10:52:20 -0000 @@ -77,6 +77,10 @@ echo "#define FreeBSDCFLAGS ${CFLAGS}" >> $LOCALDEF fi +if [ X$WITHOUT_IPV6 != X ]; then + echo "#define BuildIPv6 NO" >> $LOCALDEF +fi + # We need to test cards on these architectures and see what can be added # to the other architectures. cat >> $LOCALDEF <Release-Note: >Audit-Trail: >Unformatted: