From 0bcb9d6118ef42b5a72c55261b04c64fd9eff3df Mon Sep 17 00:00:00 2001 From: John Marino Date: Thu, 24 Mar 2016 08:29:44 +0000 Subject: lang/pypy: Restore build on DF (requires same ucontext fix as FBSD) Approved by: Restore DF functionality blanket --- lang/pypy/files/patch-rpython_rlib_rvmprof_src_vmprof__config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lang/pypy') diff --git a/lang/pypy/files/patch-rpython_rlib_rvmprof_src_vmprof__config.h b/lang/pypy/files/patch-rpython_rlib_rvmprof_src_vmprof__config.h index a7d3bfdc6d85..02b33eafba7b 100644 --- a/lang/pypy/files/patch-rpython_rlib_rvmprof_src_vmprof__config.h +++ b/lang/pypy/files/patch-rpython_rlib_rvmprof_src_vmprof__config.h @@ -3,7 +3,7 @@ @@ -1,5 +1,11 @@ #define HAVE_SYS_UCONTEXT_H -#if defined(__FreeBSD__) || defined(__APPLE__) -+#if defined(__FreeBSD__) ++#if defined(__FreeBSD__) || defined(__DragonFly__) +#if defined(__i386__) +#define PC_FROM_UCONTEXT uc_mcontext.mc_eip +#else -- cgit v1.2.3