diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-12-05 02:47:11 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-12-05 02:47:11 +0000 |
commit | 2771f79232c273bc2a57d23bf335dd81ccf6af28 (patch) | |
tree | c8af0fd04194aed03cf067d44e53c7edd3e9ab84 /app-shells/heirloom-sh/files/heirloom-sh-glibc-2.34.patch | |
parent | e9d044d4b9b71200a96adfa280848858c0f468c9 (diff) |
gentoo resync : 05.12.2021
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]; + |