aboutsummaryrefslogtreecommitdiffstats
path: root/main/gc/0001-Fix-gctest-with-musl-libc-on-s390x.patch
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.eu>2019-02-10 22:36:20 +0100
committerFrancesco Colista <fcolista@alpinelinux.org>2019-03-28 16:18:35 +0000
commit3b38fe348d4ed8d3a94d19580bb401251aeb267d (patch)
tree3d75fcbb94f423e189a9f7916793ea375a2b19b7 /main/gc/0001-Fix-gctest-with-musl-libc-on-s390x.patch
parentc85b6015a3fc0d481f68144f31349ae9034c9032 (diff)
downloadaports-3b38fe348d4ed8d3a94d19580bb401251aeb267d.tar.gz
aports-3b38fe348d4ed8d3a94d19580bb401251aeb267d.tar.bz2
aports-3b38fe348d4ed8d3a94d19580bb401251aeb267d.tar.xz
main/gc: upgrade to 8.0.2
Diffstat (limited to 'main/gc/0001-Fix-gctest-with-musl-libc-on-s390x.patch')
-rw-r--r--main/gc/0001-Fix-gctest-with-musl-libc-on-s390x.patch15
1 files changed, 3 insertions, 12 deletions
diff --git a/main/gc/0001-Fix-gctest-with-musl-libc-on-s390x.patch b/main/gc/0001-Fix-gctest-with-musl-libc-on-s390x.patch
index 832df2bfd8..c607d2d152 100644
--- a/main/gc/0001-Fix-gctest-with-musl-libc-on-s390x.patch
+++ b/main/gc/0001-Fix-gctest-with-musl-libc-on-s390x.patch
@@ -9,23 +9,14 @@ DEFAULT_STACK_MAYBE_SMALL is only set if PARALLEL_MARK is set, but stack
is too small on musl libc even if PARALLEL_MARK is unset. We solve this
by detecting musl via NO_GETCONTEXT.
---
- tests/test.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/tests/test.c b/tests/test.c
-index 7a45884f..70548806 100644
--- a/tests/test.c
+++ b/tests/test.c
-@@ -2239,7 +2239,8 @@ int main(void)
+@@ -2313,7 +2313,7 @@
}
# if defined(GC_IRIX_THREADS) || defined(GC_FREEBSD_THREADS) \
|| defined(GC_DARWIN_THREADS) || defined(GC_AIX_THREADS) \
-- || defined(GC_OPENBSD_THREADS) || defined(DEFAULT_STACK_MAYBE_SMALL)
-+ || defined(GC_OPENBSD_THREADS) || defined(DEFAULT_STACK_MAYBE_SMALL) \
-+ || defined(NO_GETCONTEXT) /* musl libc */
+- || defined(GC_OPENBSD_THREADS)
++ || defined(GC_OPENBSD_THREADS) || defined(NO_GETCONTEXT) /* musl libc */
if ((code = pthread_attr_setstacksize(&attr, 1000 * 1024)) != 0) {
GC_printf("pthread_attr_setstacksize failed, error=%d\n", code);
FAIL;
---
-2.16.1
-