Mercurial > hgrepos > FreeBSD > ports > PyPy
comparison files/patch-rpython_rlib_rposix.py @ 56:585cf5a218ad
Allow to build PyPy-v7.3.14 on FreeBSD 13.2:
This needs to handle:
- AF_NETLINK support on FreeBSD
- build of termios (with extra header termios.h)
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sun, 07 Jan 2024 22:27:41 +0100 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 55:b1432f2f3bc4 | 56:585cf5a218ad |
|---|---|
| 1 --- rpython/rlib/rposix.py.orig 2023-12-23 15:29:17 UTC | |
| 2 +++ rpython/rlib/rposix.py | |
| 3 @@ -214,6 +214,8 @@ else: | |
| 4 includes.append('sys/sysmacros.h') | |
| 5 if sys.platform.startswith('freebsd') or sys.platform.startswith('openbsd'): | |
| 6 includes.append('sys/ttycom.h') | |
| 7 + if sys.platform.startswith('freebsd'): | |
| 8 + includes.append('termios.h') | |
| 9 libraries = ['util'] | |
| 10 | |
| 11 eci = ExternalCompilationInfo( |
