1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/lang/python32/files
Kubilay Kocak d536d1d88b All Python ports: Address abort() for ctypes import on FreeBSD/ARM
The current FreeBSD/ARM __clear_cache() implementation does nothing #if
__i386__ || __x86_64__ #else abort();

cognet@ advises this is an issue for anything !Apple that is using the
libcompiler_rt provided by Clang on ARM, and requires upstreaming.

This is the root cause of abort() on import for the ctypes module in
Python, as they bundle libffi. [1]

This change patches the bundled libffi library in all Python ports, even
though it is a NOOP for the ports that use devel/libffi. These ports,
currently python31, will get the fix via ports/184517

A huge shout out to cognet@ who helped diagnose the issue and created
the patch to address it. Thank you!

PR:		ports/149167 [1]
PR:		ports/184517
Submitted by:	cognet [3]
Reviewed by:	cognet, eadler, milki, ak
2013-12-08 06:22:07 +00:00
..
patch-Lib-test_regrtest.py
patch-Makefile.pre.in
patch-Modules___ctypes__libffi__src__arm__ffi.c All Python ports: Address abort() for ctypes import on FreeBSD/ARM 2013-12-08 06:22:07 +00:00
patch-Modules__selectmodule.c
patch-Modules-_ctypes-libffi_fficonfig.py.in
patch-Modules-_ctypes-libffi-configure
patch-Modules-fcntlmodule.c
patch-setup.py