aboutsummaryrefslogtreecommitdiffstats
path: root/main/gc/getcontext.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-07-09 20:14:35 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-07-09 20:15:39 +0000
commita88edfcdfad6c7f2025bc0775f8f3d01ff6c24cc (patch)
treed69bcc45c57dc28cfa27b19f0daea4534a0b5719 /main/gc/getcontext.patch
parent8d7276ceeb6636a733d64c6efe005f1c9102092c (diff)
downloadaports-a88edfcdfad6c7f2025bc0775f8f3d01ff6c24cc.tar.bz2
aports-a88edfcdfad6c7f2025bc0775f8f3d01ff6c24cc.tar.xz
main/gc: disable getcontext
Diffstat (limited to 'main/gc/getcontext.patch')
-rw-r--r--main/gc/getcontext.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/gc/getcontext.patch b/main/gc/getcontext.patch
new file mode 100644
index 0000000000..df3e45a055
--- /dev/null
+++ b/main/gc/getcontext.patch
@@ -0,0 +1,10 @@
+--- ./include/private/gcconfig.h.orig
++++ ./include/private/gcconfig.h
+@@ -2483,6 +2483,7 @@
+ #if ((defined(UNIX_LIKE) && (defined(DARWIN) || defined(HURD) \
+ || defined(OPENBSD) || defined(ARM32) \
+ || defined(MIPS) || defined(AVR32))) \
++ || defined(__UCLIBC__) \
+ || (defined(LINUX) && (defined(SPARC) || defined(M68K))) \
+ || (defined(RTEMS) && defined(I386))) && !defined(NO_GETCONTEXT)
+ # define NO_GETCONTEXT