aboutsummaryrefslogtreecommitdiffstats
path: root/main/gc/fix-boehm-gc.patch
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2017-04-09 05:36:31 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2017-04-09 05:36:58 +0000
commit90d291eb781935214e60fb5557f20159aa863534 (patch)
treeb9291ae17d1b523c15ab690c8499f16d02e39f4b /main/gc/fix-boehm-gc.patch
parent8d78af79c4bef208bc56e139568cc1826ce50c55 (diff)
downloadaports-90d291eb781935214e60fb5557f20159aa863534.tar.bz2
aports-90d291eb781935214e60fb5557f20159aa863534.tar.xz
main/gc: upgrade to 7.6.0
Diffstat (limited to 'main/gc/fix-boehm-gc.patch')
-rw-r--r--main/gc/fix-boehm-gc.patch21
1 files changed, 10 insertions, 11 deletions
diff --git a/main/gc/fix-boehm-gc.patch b/main/gc/fix-boehm-gc.patch
index 88ffc99d79..6ac3870b02 100644
--- a/main/gc/fix-boehm-gc.patch
+++ b/main/gc/fix-boehm-gc.patch
@@ -1,11 +1,10 @@
---- gc-7.2.orig/os_dep.c
-+++ gc-7.2/os_dep.c
-@@ -26,7 +26,7 @@
- # define __KERNEL__
- # include <asm/signal.h>
- # undef __KERNEL__
--# else
-+# elif defined(__GLIBC__)
- /* Kernels prior to 2.1.1 defined struct sigcontext_struct instead of */
- /* struct sigcontext. libc6 (glibc2) uses "struct sigcontext" in */
- /* prototypes, so we have to include the top-level sigcontext.h to */
+--- gc-7.6.0.orig/pthread_stop_world.c
++++ gc-7.6.0/pthread_stop_world.c
+@@ -45,6 +45,7 @@
+ #include <semaphore.h>
+ #include <errno.h>
+ #include <unistd.h>
++#include <sys/select.h>
+ #include "atomic_ops.h"
+
+ /* It's safe to call original pthread_sigmask() here. */