From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jul 20 15:50:30 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 BD19216A4CE for ; Tue, 20 Jul 2004 15:50:30 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97A7243D31 for ; Tue, 20 Jul 2004 15:50:30 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i6KFoU7x066871 for ; Tue, 20 Jul 2004 15:50:30 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6KFoUWk066868; Tue, 20 Jul 2004 15:50:30 GMT (envelope-from gnats) Resent-Date: Tue, 20 Jul 2004 15:50:30 GMT Resent-Message-Id: <200407201550.i6KFoUWk066868@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, Bernd Luevelsmeyer Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 025D216A4CE for ; Tue, 20 Jul 2004 15:48:08 +0000 (GMT) Received: from christel.heitec.net (christel.heitec.net [213.70.109.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD80C43D62 for ; Tue, 20 Jul 2004 15:48:07 +0000 (GMT) (envelope-from bernd@heitec.net) Received: from heitec.net (paladin.heitec.net [193.101.232.30]) by christel.heitec.net (Postfix) with ESMTP id E7A5955462; Tue, 20 Jul 2004 17:48:06 +0200 (CEST) Received: (from bernd@localhost) by heitec.net (8.12.11/8.12.11) id i6KFm2DV027706; Tue, 20 Jul 2004 17:48:02 +0200 (CEST) (envelope-from bernd) Message-Id: <200407201548.i6KFm2DV027706@ heitec.net> Date: Tue, 20 Jul 2004 17:48:02 +0200 (CEST) From: Bernd Luevelsmeyer To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: Hiroo Ono cc: Kris Kennaway Subject: ports/69345: www/xitami compilation problem X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Bernd Luevelsmeyer List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2004 15:50:30 -0000 >Number: 69345 >Category: ports >Synopsis: www/xitami compilation problem >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 20 15:50:29 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Bernd Luevelsmeyer >Release: FreeBSD 4.10-STABLE i386 >Organization: >Environment: System: FreeBSD 4.10-STABLE i386 >Description: There is a problem getting xitami to compile on 64-bit machines. The previous patch (ports/69012) that should remedy this was defective. This one should work, at least on 32-bit intel architectures. I don't have access to other architectures, so I cannot test it there. >How-To-Repeat: Try to build the port. >Fix: ports/www/xitami/files/patch-ae should have this contents: --- src/sfl/prelude.h.orig Tue Jul 20 15:11:55 2004 +++ src/sfl/prelude.h Tue Jul 20 15:21:33 2004 @@ -175,6 +175,10 @@ #elif (defined (FreeBSD) || defined (__FreeBSD__)) # define __UTYPE_FREEBSD # define __UNIX__ +#if !defined(__i386__) +# undef __IS_32BIT__ +# define __IS_64BIT__ +#endif #elif (defined (NetBSD) || defined (__NetBSD__)) # define __UTYPE_NETBSD # define __UNIX__ >Release-Note: >Audit-Trail: >Unformatted: