aboutsummaryrefslogtreecommitdiff
path: root/lang/pypy
diff options
context:
space:
mode:
authorDavid Naylor <dbn@FreeBSD.org>2016-03-19 17:02:45 +0000
committerDavid Naylor <dbn@FreeBSD.org>2016-03-19 17:02:45 +0000
commit8f2c2048f50555155b1835abcc693832ae639894 (patch)
tree8d096596800cce796c4695951d5f3b8a949886ab /lang/pypy
parent230cf42f81f4aaec5a1339d30eb5b3657889203f (diff)
downloadports-8f2c2048f50555155b1835abcc693832ae639894.tar.gz
ports-8f2c2048f50555155b1835abcc693832ae639894.zip
Notes
Diffstat (limited to 'lang/pypy')
-rw-r--r--lang/pypy/files/patch-rpython_rlib_rvmprof_src_vmprof__config.h10
1 files changed, 10 insertions, 0 deletions
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
new file mode 100644
index 000000000000..811a1568ffec
--- /dev/null
+++ b/lang/pypy/files/patch-rpython_rlib_rvmprof_src_vmprof__config.h
@@ -0,0 +1,10 @@
+--- rpython/rlib/rvmprof/src/vmprof_config.h.orig 2016-03-19 14:27:46 UTC
++++ rpython/rlib/rvmprof/src/vmprof_config.h
+@@ -1,6 +1,6 @@
+ #define HAVE_SYS_UCONTEXT_H
+ #if defined(__FreeBSD__) || defined(__APPLE__)
+-#define PC_FROM_UCONTEXT uc_mcontext.mc_rip
++#define PC_FROM_UCONTEXT uc_mcontext.mc_eip
+ #else
+ #define PC_FROM_UCONTEXT uc_mcontext.gregs[REG_RIP]
+ #endif