diff options
author | Rosen Penev <rosenp@gmail.com> | 2020-08-22 14:07:29 -0700 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2020-08-22 14:12:01 -0700 |
commit | 1a8481bf1512c78f000ea573e8016dd732661a16 (patch) | |
tree | 139f71c93ff602853c109c58fcf63a47bc093bdb /utils/klish/patches | |
parent | 46f727e57d5626f5f7d15abebfa8952bfa788c88 (diff) |
klish: fixup sigignore support
Added _GNU_SOURCE for uClibc-ng compatibility. _XOPEN_SOURCE does not
seem to be enough.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'utils/klish/patches')
-rw-r--r-- | utils/klish/patches/010-shell_execute_fix.patch | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/utils/klish/patches/010-shell_execute_fix.patch b/utils/klish/patches/010-shell_execute_fix.patch index 8de164e52..f74e91c4b 100644 --- a/utils/klish/patches/010-shell_execute_fix.patch +++ b/utils/klish/patches/010-shell_execute_fix.patch @@ -6,12 +6,10 @@ +#if defined(__UCLIBC__) && !defined(__UCLIBC_HAS_OBSOLETE_BSD_SIGNAL__) /* Empty signal handler to ignore signal but don't use SIG_IGN. */ --static void sigignore(int signo) -+static int sigignore(int signo) + static void sigignore(int signo) { signo = signo; /* Happy compiler */ -- return; -+ return 0; + return; } +#endif |