diff options
author | joerg <joerg@pkgsrc.org> | 2017-05-22 23:43:00 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2017-05-22 23:43:00 +0000 |
commit | 590dd124cbfde5a948d9f0a599e1e6daa4d63816 (patch) | |
tree | 09255ee2bc8e3e4c5d909327d9ab49447828a519 /sysutils/rsyslog | |
parent | 60b4b5a740c62787171b57284c2465d2073e756a (diff) | |
download | pkgsrc-590dd124cbfde5a948d9f0a599e1e6daa4d63816.tar.gz |
Include missing header. Deal with systems not using the LFS crap of
O_LARGEFILE.
Diffstat (limited to 'sysutils/rsyslog')
-rw-r--r-- | sysutils/rsyslog/distinfo | 3 | ||||
-rw-r--r-- | sysutils/rsyslog/patches/patch-plugins_omkafka_omkafka.c | 23 |
2 files changed, 25 insertions, 1 deletions
diff --git a/sysutils/rsyslog/distinfo b/sysutils/rsyslog/distinfo index a394f6db60e..439e796659b 100644 --- a/sysutils/rsyslog/distinfo +++ b/sysutils/rsyslog/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.26 2017/05/18 13:27:44 fhajny Exp $ +$NetBSD: distinfo,v 1.27 2017/05/22 23:43:00 joerg Exp $ SHA1 (rsyslog-8.27.0.tar.gz) = cdc1aa0744098bf595056d20a2970b2af4dd432b RMD160 (rsyslog-8.27.0.tar.gz) = 57737e20ff19af3c667e66564605cc89d152b3f3 @@ -12,6 +12,7 @@ SHA1 (patch-plugins_impstats_impstats.c) = a4eb7b8b9870271204d856c3a9e05fd24cee7 SHA1 (patch-plugins_imptcp_imptcp.c) = 47f7184acf0279df4117924108f961529b22a21e SHA1 (patch-plugins_imuxsock_imuxsock.c) = a3c682d5a2132cd4796893f286193259087223da SHA1 (patch-plugins_mmexternal_mmexternal.c) = 498fc31e687e50e6aee821c64e029f9407e902ef +SHA1 (patch-plugins_omkafka_omkafka.c) = 56d538f7c23a712951c6d3354c3b36bd87add876 SHA1 (patch-runtime_lookup.c) = 2d824bfb00d93ba2abfb481445ed8b904ecbeae7 SHA1 (patch-runtime_nsd__ptcp.c) = fcc8bdd5c5068cc0fb2f3b29d53a6bee41c7a437 SHA1 (patch-tools_rsyslogd.8) = a3c79f551111b7bf5933ca5e0930b1f52875f341 diff --git a/sysutils/rsyslog/patches/patch-plugins_omkafka_omkafka.c b/sysutils/rsyslog/patches/patch-plugins_omkafka_omkafka.c new file mode 100644 index 00000000000..76b82a0e05e --- /dev/null +++ b/sysutils/rsyslog/patches/patch-plugins_omkafka_omkafka.c @@ -0,0 +1,23 @@ +$NetBSD: patch-plugins_omkafka_omkafka.c,v 1.1 2017/05/22 23:43:00 joerg Exp $ + +--- plugins/omkafka/omkafka.c.orig 2017-05-21 19:04:23.931288632 +0000 ++++ plugins/omkafka/omkafka.c +@@ -29,6 +29,7 @@ + #include <errno.h> + #include <fcntl.h> + #include <pthread.h> ++#include <sys/stat.h> + #include <sys/uio.h> + #include <librdkafka/rdkafka.h> + #include "syslogd-types.h" +@@ -67,6 +68,10 @@ struct kafka_params { + const char *val; + }; + ++#ifndef O_LARGEFILE ++#define O_LARGEFILE 0 ++#endif ++ + #if HAVE_ATOMIC_BUILTINS64 + static uint64 clockTopicAccess = 0; + #else |