diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-18 11:59:23 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-18 11:59:49 +0000 |
commit | 20c1f7f2330bfd49f9f8a86203aa49b3e34d41a4 (patch) | |
tree | 5dfd8cb78d65085c1f6a43fd01444fa92988a39d /testing/openvas-scanner/002-execinfo-musl-fix.patch | |
parent | 0977a30ac83e81c7cbbbefbf41307ad75d7b7787 (diff) | |
download | aports-20c1f7f2330bfd49f9f8a86203aa49b3e34d41a4.tar.bz2 aports-20c1f7f2330bfd49f9f8a86203aa49b3e34d41a4.tar.xz |
community/openvas-scanner: moved from testing
Diffstat (limited to 'testing/openvas-scanner/002-execinfo-musl-fix.patch')
-rw-r--r-- | testing/openvas-scanner/002-execinfo-musl-fix.patch | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/testing/openvas-scanner/002-execinfo-musl-fix.patch b/testing/openvas-scanner/002-execinfo-musl-fix.patch deleted file mode 100644 index 8fd2164221..0000000000 --- a/testing/openvas-scanner/002-execinfo-musl-fix.patch +++ /dev/null @@ -1,40 +0,0 @@ -diff --git a/src/sighand.c b/src/sighand.c -index 1ebf206..985e470 100644 ---- a/src/sighand.c -+++ b/src/sighand.c -@@ -30,7 +30,10 @@ - #include <errno.h> /* for errno() */ - #include <sys/wait.h> /* for wait() */ - #include <sys/socket.h> /* for shutdown() */ -+ -+#ifdef HAVE_EXECINFO_H - #include <execinfo.h> -+#endif - - #include "log.h" - #include "sighand.h" -@@ -112,6 +115,7 @@ sighand_chld (pid_t pid) - waitpid (pid, &status, WNOHANG); - } - -+#ifdef HAVE_EXECINFO_H - static void - print_trace () - { -@@ -126,13 +130,16 @@ print_trace () - log_write ("%s\n", symbols[i]); - g_free (symbols); - } -+#endif - - void - sighand_segv () - { - signal (SIGSEGV, _exit); - log_write ("SIGSEGV occured !"); -+ #ifdef HAVE_EXECINFO_H - print_trace (); -+ #endif - make_em_die (SIGTERM); - log_close (); - _exit (0); |