diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-02-05 18:44:56 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-02-05 18:44:56 +0000 |
commit | 29aabba0ea759c6a2864ff5631735b67ee38e5e0 (patch) | |
tree | ab466b4dfa7abecb401b2f8039d08af4689306bb /net-analyzer/mk-livestatus/files | |
parent | d42200bec37eef2a7478d88988ff00addd0a9202 (diff) |
gentoo resync : 05.02.2020
Diffstat (limited to 'net-analyzer/mk-livestatus/files')
-rw-r--r-- | net-analyzer/mk-livestatus/files/mk-livestatus-1.2.8_p26-fno-common.patch | 29 | ||||
-rw-r--r-- | net-analyzer/mk-livestatus/files/mk-livestatus-1.2.8_p26-rm.patch | 10 |
2 files changed, 39 insertions, 0 deletions
diff --git a/net-analyzer/mk-livestatus/files/mk-livestatus-1.2.8_p26-fno-common.patch b/net-analyzer/mk-livestatus/files/mk-livestatus-1.2.8_p26-fno-common.patch new file mode 100644 index 000000000000..e0dc8469c15a --- /dev/null +++ b/net-analyzer/mk-livestatus/files/mk-livestatus-1.2.8_p26-fno-common.patch @@ -0,0 +1,29 @@ +--- a/src/logger.h ++++ b/src/logger.h +@@ -27,6 +27,7 @@ + + #include "config.h" // IWYU pragma: keep + #include <syslog.h> ++#include <pthread.h> + + #ifdef CMC + #define LG_DEBUG LOG_INFO +@@ -49,6 +50,8 @@ + extern "C" { + #endif + ++extern pthread_t g_mainthread_id; ++ + void logger(int priority, const char *loginfo, ...) + __attribute__((format(printf, 2, 3))); + void open_logfile(); +--- a/src/module.c ++++ b/src/module.c +@@ -95,7 +95,6 @@ + char g_logfile_path[4096]; + int g_debug_level = 0; + int g_should_terminate = false; +-pthread_t g_mainthread_id; + pthread_t *g_clientthread_id; + unsigned long g_max_cached_messages = 500000; + unsigned long g_max_lines_per_logfile = diff --git a/net-analyzer/mk-livestatus/files/mk-livestatus-1.2.8_p26-rm.patch b/net-analyzer/mk-livestatus/files/mk-livestatus-1.2.8_p26-rm.patch new file mode 100644 index 000000000000..abdb2e01691b --- /dev/null +++ b/net-analyzer/mk-livestatus/files/mk-livestatus-1.2.8_p26-rm.patch @@ -0,0 +1,10 @@ +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -62,7 +62,6 @@ + install-data-local: + $(mkinstalldirs) $(DESTDIR)$(pkglibdir) + $(INSTALL_PROGRAM) livestatus.o $(DESTDIR)$(pkglibdir) +- rm -f $(DESTDIR)$(pkglibdir)/livestatus.so + + clean-local: + rm -f *~ |