pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/rsyslog



Module Name:    pkgsrc
Committed By:   joerg
Date:           Mon May 22 23:43:00 UTC 2017

Modified Files:
        pkgsrc/sysutils/rsyslog: distinfo
Added Files:
        pkgsrc/sysutils/rsyslog/patches: patch-plugins_omkafka_omkafka.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/sysutils/rsyslog/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/sysutils/rsyslog/patches/patch-plugins_omkafka_omkafka.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/rsyslog/distinfo
diff -u pkgsrc/sysutils/rsyslog/distinfo:1.26 pkgsrc/sysutils/rsyslog/distinfo:1.27
--- pkgsrc/sysutils/rsyslog/distinfo:1.26       Thu May 18 13:27:44 2017
+++ pkgsrc/sysutils/rsyslog/distinfo    Mon May 22 23:43:00 2017
@@ -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)
 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

Added files:

Index: pkgsrc/sysutils/rsyslog/patches/patch-plugins_omkafka_omkafka.c
diff -u /dev/null pkgsrc/sysutils/rsyslog/patches/patch-plugins_omkafka_omkafka.c:1.1
--- /dev/null   Mon May 22 23:43:01 2017
+++ pkgsrc/sysutils/rsyslog/patches/patch-plugins_omkafka_omkafka.c     Mon May 22 23:43:00 2017
@@ -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