[Bug 192365] x11-toolkits/py-wxPython30 build fails

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Sep 6 14:18:18 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192365

--- Comment #9 from Jilles Tjoelker <jilles at FreeBSD.org> ---
(In reply to Antoine Brodin from comment #8)
> include/python2.7/pyconfig.h  has:
> 
> 
> /* Define to activate features from IEEE Stds 1003.1-2001 */
> #define _POSIX_C_SOURCE 200112L
> 
> ...
> 
> /* Define to the level of X/Open that your system supports */
> #define _XOPEN_SOURCE 600
> 
> ...
> 
> /* Define on FreeBSD to activate all library features */
> #define __BSD_VISIBLE 1

I suggest removing all three for FreeBSD.

Other platforms may need them, together with more feature test macros.
(However, per POSIX, _POSIX_C_SOURCE is not needed if you already define
_XOPEN_SOURCE.)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-python mailing list