File julia-fix-task-build-failure-gcc-11.patch of Package julia

--- julia-1.6.3/src/task.c	2021-09-23 19:34:58.000000000 +0200
+++ julia-1.6.3/src/task.c	2021-10-22 09:54:20.765870391 +0200
@@ -75,8 +75,8 @@
 
 // empirically, jl_finish_task needs about 64k stack space to infer/run
 // and additionally, gc-stack reserves 64k for the guard pages
-#if defined(MINSIGSTKSZ) && MINSIGSTKSZ > 131072
-#define MINSTKSZ MINSIGSTKSZ
+#if defined(MINSIGSTKSZ)
+#define MINSTKSZ (MINSIGSTKSZ > 131072 ? MINSIGSTKSZ : 131072)
 #else
 #define MINSTKSZ 131072
 #endif
openSUSE Build Service is sponsored by