summaryrefslogtreecommitdiff
path: root/package/mrd6/patches/patch-src_linux_mrd_components_cpp
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-06-22 22:19:16 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-06-22 22:19:16 +0200
commita01131d813946a99aa5206633a524855c3b6f58c (patch)
treecb5ec95bac08a9f1c3831365498377a9484b3309 /package/mrd6/patches/patch-src_linux_mrd_components_cpp
parentf18f19d6a59974f5a92a4f52c0539c2ec3da4f96 (diff)
fix make allmodconfig on mips (rb532)
Diffstat (limited to 'package/mrd6/patches/patch-src_linux_mrd_components_cpp')
-rw-r--r--package/mrd6/patches/patch-src_linux_mrd_components_cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/mrd6/patches/patch-src_linux_mrd_components_cpp b/package/mrd6/patches/patch-src_linux_mrd_components_cpp
new file mode 100644
index 000000000..e604a63dd
--- /dev/null
+++ b/package/mrd6/patches/patch-src_linux_mrd_components_cpp
@@ -0,0 +1,14 @@
+--- mrd6-0.9.6.orig/src/linux/mrd_components.cpp 2007-01-07 03:11:27.000000000 +0100
++++ mrd6-0.9.6/src/linux/mrd_components.cpp 2009-06-19 21:49:44.000000000 +0200
+@@ -90,10 +90,8 @@ char *mrd::obtain_frame_description(void
+
+ void *mrd::posix_uctx::get_current_frame() const {
+ #if defined(__GLIBC__)
+-#if defined(__i386__)
++#if defined(__i386__)
+ return (void *)base->uc_mcontext.gregs[REG_EIP];
+-#elif defined(__mips__)
+- return (void *)base->uc_mcontext.gpregs[CTX_EPC];
+ #endif
+ #endif
+ return 0;