Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jul 2004 17:48:02 +0200 (CEST)
From:      Bernd Luevelsmeyer <bernd@heitec.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   ports/69345: www/xitami compilation problem
Message-ID:  <200407201548.i6KFm2DV027706@ heitec.net>
Resent-Message-ID: <200407201550.i6KFoUWk066868@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407201548.i6KFm2DV027706>