mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
python3: handle negative errno on Haiku.
also enable _BSD_SOURCE for openpty declaration.
This commit is contained in:
@@ -11,7 +11,7 @@ OSI-approved open source license.
|
||||
HOMEPAGE="http://www.python.org"
|
||||
LICENSE="Python"
|
||||
COPYRIGHT="1990-2016, Python Software Foundation"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://www.python.org/ftp/python/$portVersion/Python-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="a01810ddfcec216bcdb357a84bfaafdfaa0ca42bbdaa4cb7ff74f5a9961e4041"
|
||||
SOURCE_DIR="Python-$portVersion"
|
||||
@@ -87,6 +87,7 @@ GLOBAL_WRITABLE_FILES="
|
||||
|
||||
BUILD()
|
||||
{
|
||||
export CFLAGS="-D_BSD_SOURCE"
|
||||
rm -Rf Modules/zlib Modules/expat
|
||||
|
||||
cd Modules/_ctypes/libffi
|
||||
|
||||
Reference in New Issue
Block a user