freebsd-ports/lang/python32
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
..
files All Python ports: Address abort() for ctypes import on FreeBSD/ARM 2013-12-08 06:22:07 +00:00
distinfo Update lang/python32 to 3.2.5 and lang/python33 to 3.3.2 2013-05-18 08:21:00 +00:00
Makefile Fix OSS Audio and enable FreeBSD 11 support in Python 3.2 and 3.1 2013-12-01 12:25:37 +00:00
pkg-descr
pkg-message Commit all the non-functional changes to python ports to reduce the diff size 2013-05-11 11:37:54 +00:00
pkg-plist Fix OSS Audio and enable FreeBSD 11 support in Python 3.2 and 3.1 2013-12-01 12:25:37 +00:00