ports/69345: www/xitami compilation problem
Bernd Luevelsmeyer
bernd at heitec.net
Tue Jul 20 15:50:30 UTC 2004
>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:
More information about the freebsd-ports-bugs
mailing list