Date: Fri, 23 Apr 2004 20:07:20 -0700 (PDT) From: Coleman Kane <cokane@cokane.org> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/65924: XFree86-4-libraries won't include in xc/lib/X11 Message-ID: <200404240307.i3O37Kg5000568@www.freebsd.org> Resent-Message-ID: <200404240310.i3O3AOLi073538@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 65924
>Category: misc
>Synopsis: XFree86-4-libraries won't include in xc/lib/X11
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Apr 23 20:10:24 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator: Coleman Kane
>Release: FreeBSD 5-current
>Organization:
>Environment:
FreeBSD blah 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Fri Apr 23 03:59:18 GMT 2004 root@blah:/usr/obj/usr/src/sys/BLAH i386
>Description:
x11/XFree86-4-libraries won't configure. Dies at making includes in xc/lib/X11 on building makekeys.
>How-To-Repeat:
Build x11/XFree86-4-libraries from ports
>Fix:
Modify the xc/config/cf/FreeBSD.cf file, and remove the NULL-quote from the SystemMTDefines #define. GCC interprets this as an argument, an input file named <NULL>, which it cannot find and it dies.
--- FreeBSD.cf Sat Apr 24 02:43:59 2004
+++ FreeBSD.cf.old Sat Apr 24 02:46:00 2004
@@ -89,7 +89,7 @@
# endif
# define HasPosixThreads YES
# define ThreadedX YES
-# define SystemMTDefines
+# define SystemMTDefines ""
/*
* FreeBSD has tread-safe api but no getpwnam_r yet.
*/
>Release-Note:
>Audit-Trail:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404240307.i3O37Kg5000568>
