diff options
Diffstat (limited to 'app-shells/heirloom-sh/files/heirloom-sh-glibc-2.34.patch')
-rw-r--r-- | app-shells/heirloom-sh/files/heirloom-sh-glibc-2.34.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app-shells/heirloom-sh/files/heirloom-sh-glibc-2.34.patch b/app-shells/heirloom-sh/files/heirloom-sh-glibc-2.34.patch new file mode 100644 index 000000000000..35cb56552697 --- /dev/null +++ b/app-shells/heirloom-sh/files/heirloom-sh-glibc-2.34.patch @@ -0,0 +1,18 @@ +--- a/fault.c ++++ b/fault.c +@@ -43,6 +43,15 @@ + #include <errno.h> + #include <string.h> + ++#if __GLIBC__ >= 2 ++# undef SIGSTKSZ ++# if defined __ia64__ ++# define SIGSTKSZ 262144 ++# else ++# define SIGSTKSZ 65536 ++# endif ++#endif ++ + static void (*psig0_func)() = SIG_ERR; /* previous signal handler for signal 0 */ + static char sigsegv_stack[SIGSTKSZ]; + |