ports/lang/pypy/files/patch-rpython_rlib_rvmprof_cintf.py
David Naylor 4cb488e0ff lang/pypy(3): update to 5.9
- add lubunwind as dependency: required by vmprof
 - disable vmprof on FreeBSD 10: missing base support
 - implement support for handles with ctypes.CDLL: fix dynamic loading of
   shared objects
 - enable various tests that were not working on FreeBSD 9
 - mark get_profile_path as xfail on FreeBSD
 - handle definition of char16_t and char32_t on libc++ for
   __cplusplus < 201103L (libstdc++ does not do this)
 - other minor fixes

ChangeLog:
 - NumPy and Pandas now work on lang/pypy
 - Cython 0.27.1 supports more projects with PyPy
 - JSON parser improvements decrease memory by up to 50% and increase speed
   by up to 15%
 - CFFI updated to 1.11.1
2017-11-04 09:33:51 +00:00

14 lines
383 B
Python

--- rpython/rlib/rvmprof/cintf.py.orig 2017-10-03 10:49:20 UTC
+++ rpython/rlib/rvmprof/cintf.py
@@ -47,7 +47,10 @@ else:
# Guessing a BSD-like Unix platform
compile_extra += ['-DVMPROF_UNIX']
compile_extra += ['-DVMPROF_MAC']
- _libs = []
+ if sys.platform.startswith('freebsd'):
+ _libs = ['unwind']
+ else:
+ _libs = []
eci_kwds = dict(