Skip to content

Commit 3670f7e

Browse files
glaubitzterceiro
authored andcommitted
update x32 patch to current upstream coroutine detection
Closes: #1012247
1 parent 4e2caec commit 3670f7e

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

debian/patches/0009-Fix-FTBFS-on-x32-misdetected-as-i386-or-amd64.patch

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,23 @@ Subject: Fix FTBFS on x32: misdetected as i386 or amd64
44

55
Author: Thorsten Glaser <t.glaser@tarent.de>
66
Bug: #954293
7+
8+
Updated by John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> on
9+
2022-06-02, s/rb_cv_coroutine/coroutine_type/.
710
---
811
configure.ac | 3 +++
912
1 file changed, 3 insertions(+)
1013

1114
diff --git a/configure.ac b/configure.ac
12-
index 5a6b074..403b965 100644
15+
index 5a6b074..49897ad 100644
1316
--- a/configure.ac
1417
+++ b/configure.ac
1518
@@ -2524,6 +2524,9 @@ AS_CASE([$coroutine_type], [yes|''], [
1619
[arm64-darwin*], [
1720
coroutine_type=arm64
1821
],
1922
+ [x86_64-linux-gnux32], [
20-
+ rb_cv_coroutine=ucontext
23+
+ coroutine_type=ucontext
2124
+ ],
2225
[x*64-linux*], [
2326
AS_CASE(["$ac_cv_sizeof_voidp"],

0 commit comments

Comments
 (0)