summaryrefslogtreecommitdiffstats
path: root/main/gc/uclibc-getcontext.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-06-24 11:31:25 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-06-24 11:31:25 +0000
commit6186bbd0bd46751288a5e5568977ba1b39569d0e (patch)
treebbe7acfcf07e499e12e48967cf9c6c83cc4e7bdd /main/gc/uclibc-getcontext.patch
parentf74c1bad0726852da9905fde909a50f3f9037ee0 (diff)
downloadaports-6186bbd0bd46751288a5e5568977ba1b39569d0e.tar.bz2
aports-6186bbd0bd46751288a5e5568977ba1b39569d0e.tar.xz
main/gc: moved from testing
Diffstat (limited to 'main/gc/uclibc-getcontext.patch')
-rw-r--r--main/gc/uclibc-getcontext.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/gc/uclibc-getcontext.patch b/main/gc/uclibc-getcontext.patch
new file mode 100644
index 000000000..de48fc018
--- /dev/null
+++ b/main/gc/uclibc-getcontext.patch
@@ -0,0 +1,11 @@
+--- ./mach_dep.c.orig
++++ ./mach_dep.c
+@@ -175,7 +175,7 @@
+ # if defined(HAVE_PUSH_REGS)
+ GC_push_regs();
+ # elif defined(UNIX_LIKE) && !defined(DARWIN) && !defined(ARM32) && \
+- !defined(HURD)
++ !defined(HURD) && !defined(__UCLIBC__)
+ /* Older versions of Darwin seem to lack getcontext(). */
+ /* ARM Linux often doesn't support a real getcontext(). */
+ ucontext_t ctxt;