aboutsummaryrefslogtreecommitdiff
path: root/development/rstudio-desktop/sigstksz_gcc11.patch
diff options
context:
space:
mode:
Diffstat (limited to 'development/rstudio-desktop/sigstksz_gcc11.patch')
-rw-r--r--development/rstudio-desktop/sigstksz_gcc11.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/development/rstudio-desktop/sigstksz_gcc11.patch b/development/rstudio-desktop/sigstksz_gcc11.patch
new file mode 100644
index 0000000000000..7b1b70f147ac3
--- /dev/null
+++ b/development/rstudio-desktop/sigstksz_gcc11.patch
@@ -0,0 +1,14 @@
+This patch was taken from the Arch Linux AUR:
+https://aur.archlinux.org/cgit/aur.git/tree/sigstksz_gcc11.patch?h=rstudio-desktop
+diff -ru rstudio-2022.02.0-443.original/src/cpp/tests/cpp/tests/vendor/catch.hpp rstudio-2022.02.0-443/src/cpp/tests/cpp/tests/vendor/catch.hpp
+--- a/src/cpp/tests/cpp/tests/vendor/catch.hpp 2022-02-17 08:26:03.000000000 +1300
++++ b/src/cpp/tests/cpp/tests/vendor/catch.hpp 2022-02-18 19:04:27.382806708 +1300
+@@ -10824,7 +10824,7 @@
+
+ // 32kb for the alternate stack seems to be sufficient. However, this value
+ // is experimentally determined, so that's not guaranteed.
+- static constexpr std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ;
++ static constexpr std::size_t sigStackSize = 32768;
+
+ static SignalDefs signalDefs[] = {
+ { SIGINT, "SIGINT - Terminal interrupt signal" },