[Patches] [ python-Patches-763798 ] FreeBSD 5.x needs extra define to expose all library symbols

SourceForge.net noreply@sourceforge.net
Tue, 01 Jul 2003 04:13:36 -0700


Patches item #763798, was opened at 2003-07-01 21:11
Message generated for change (Settings changed) made by aimacintyre
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=763798&group_id=5470

Category: Build
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Andrew I MacIntyre (aimacintyre)
>Assigned to: Martin v. Löwis (loewis)
Summary: FreeBSD 5.x needs extra define to expose all library symbols

Initial Comment:
With FreeBSD 5.x, a number of library symbols, and
common typedefs, have been moved outside the scope of
the usual _XOPEN_SOURCE and _POSIX_C_SOURCE defines.

This includes getloadavg(), and typedefs for u_int,
u_long etc.  These typedefs are common in standard
extension modules (but not in Python's core).

The define required to enable the missing bits is
__BSD_VISIBLE.

The attached patches for configure.in and pyconfig.in
add support for this define in similar fashion to
defines required for similar reasons on other platforms
(eg NetBSD).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=763798&group_id=5470