about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorMatthew Glazar <strager.nds@gmail.com>2019-10-14 21:49:46 -0700
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2019-10-15 13:12:13 +0200
commit81d15948cc19c2584f13031518349327ce353c82 (patch)
treed5d383441f1ce7659dfc2279a7bce6f325a58949 /nixos
parent1f4295927fa9ec6235e532d5a68c8ba73d1f6a19 (diff)
downloadnixlib-81d15948cc19c2584f13031518349327ce353c82.tar
nixlib-81d15948cc19c2584f13031518349327ce353c82.tar.gz
nixlib-81d15948cc19c2584f13031518349327ce353c82.tar.bz2
nixlib-81d15948cc19c2584f13031518349327ce353c82.tar.lz
nixlib-81d15948cc19c2584f13031518349327ce353c82.tar.xz
nixlib-81d15948cc19c2584f13031518349327ce353c82.tar.zst
nixlib-81d15948cc19c2584f13031518349327ce353c82.zip
python38: fix build on macOS
Python 3.8 fails to build on macOS for two reasons:

* python-3.x-distutils-C++.patch fails to apply cleanly.
* An #include for <util.h> is missing, causing a build failure:

    ./Modules/posixmodule.c:6586:9: error: implicit declaration of function 'openpty' is invalid in C99
        if (openpty(&master_fd, &slave_fd, NULL, NULL, NULL) != 0)
            ^

Use the correct version of python-3.x-distutils-C++.patch, and add a
patch to #include <util.h>.
Diffstat (limited to 'nixos')
0 files changed, 0 insertions, 0 deletions