summaryrefslogtreecommitdiff
path: root/dev-scheme/guile/files/guile-2.2.7-stack-up.patch
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-01-01 05:52:29 +0000
committerSam James <sam@gentoo.org>2021-01-01 05:52:29 +0000
commitfb97c7de4b112b77e5205b7926bfaf1d38cc733d (patch)
treec0d18f8d3fe13fe0de9b90ec377c61f091223bf1 /dev-scheme/guile/files/guile-2.2.7-stack-up.patch
parent0f271e3841b59c8c831b59fc9cc7fc0f752a48ee (diff)
downloadgentoo-fb97c7de4b112b77e5205b7926bfaf1d38cc733d.tar.gz
gentoo-fb97c7de4b112b77e5205b7926bfaf1d38cc733d.tar.bz2
gentoo-fb97c7de4b112b77e5205b7926bfaf1d38cc733d.zip
dev-scheme/guile: fix build where stack grows upwards
Closes: https://bugs.gentoo.org/747049 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-scheme/guile/files/guile-2.2.7-stack-up.patch')
-rw-r--r--dev-scheme/guile/files/guile-2.2.7-stack-up.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-scheme/guile/files/guile-2.2.7-stack-up.patch b/dev-scheme/guile/files/guile-2.2.7-stack-up.patch
new file mode 100644
index 000000000000..de291421c0be
--- /dev/null
+++ b/dev-scheme/guile/files/guile-2.2.7-stack-up.patch
@@ -0,0 +1,17 @@
+This patch (dropping an obsolete extra parameter to grow_stack) landed post
+2.2.7 and we're not likely to ever see a 2.2.8, as development has moved
+on to 3.x now.
+
+https://bugs.gentoo.org/747049
+https://www.mail-archive.com/guile-devel@gnu.org/msg15502.html
+--- a/libguile/continuations.c
++++ b/libguile/continuations.c
+@@ -302,7 +302,7 @@
+
+ #if SCM_STACK_GROWS_UP
+ if (dst + continuation->num_stack_items >= &stack_top_element)
+- grow_stack (cont, mra);
++ grow_stack (cont);
+ #else
+ dst -= continuation->num_stack_items;
+ if (dst <= &stack_top_element)