pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/rsyslog Include missing header. Deal with sys...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/850dd576e88c
branches:  trunk
changeset: 362710:850dd576e88c
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon May 22 23:43:00 2017 +0000

description:
Include missing header. Deal with systems not using the LFS crap of
O_LARGEFILE.

diffstat:

 sysutils/rsyslog/distinfo                                |   3 +-
 sysutils/rsyslog/patches/patch-plugins_omkafka_omkafka.c |  23 ++++++++++++++++
 2 files changed, 25 insertions(+), 1 deletions(-)

diffs (44 lines):

diff -r a0f88c48476f -r 850dd576e88c sysutils/rsyslog/distinfo
--- a/sysutils/rsyslog/distinfo Mon May 22 23:41:52 2017 +0000
+++ b/sysutils/rsyslog/distinfo Mon May 22 23:43:00 2017 +0000
@@ -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_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 -r a0f88c48476f -r 850dd576e88c sysutils/rsyslog/patches/patch-plugins_omkafka_omkafka.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/rsyslog/patches/patch-plugins_omkafka_omkafka.c  Mon May 22 23:43:00 2017 +0000
@@ -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



Home | Main Index | Thread Index | Old Index