git: 37be2a3a8207 - main - sysutils/rsyslog8: Fix compilation when KAFKA option selected
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 28 Feb 2026 15:29:08 UTC
The branch main has been updated by matthew:
URL: https://cgit.FreeBSD.org/ports/commit/?id=37be2a3a820750b3892eeb3f544033ab56b74bea
commit 37be2a3a820750b3892eeb3f544033ab56b74bea
Author: Matthew Seaman <matthew@FreeBSD.org>
AuthorDate: 2026-02-28 15:02:02 +0000
Commit: Matthew Seaman <matthew@FreeBSD.org>
CommitDate: 2026-02-28 15:29:05 +0000
sysutils/rsyslog8: Fix compilation when KAFKA option selected
Add #define __BSD_VISIBLE to get the uint typedef in sys/types.h
PR: 293465
Reported by: girgen
---
sysutils/rsyslog8/Makefile | 1 +
sysutils/rsyslog8/files/patch-plugins_imkafka_imkafka.c | 10 ++++++++++
2 files changed, 11 insertions(+)
diff --git a/sysutils/rsyslog8/Makefile b/sysutils/rsyslog8/Makefile
index c6f0be0de93e..357ee43a7731 100644
--- a/sysutils/rsyslog8/Makefile
+++ b/sysutils/rsyslog8/Makefile
@@ -1,5 +1,6 @@
PORTNAME= rsyslog
PORTVERSION= 8.2602.0
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.rsyslog.com/files/download/rsyslog/
diff --git a/sysutils/rsyslog8/files/patch-plugins_imkafka_imkafka.c b/sysutils/rsyslog8/files/patch-plugins_imkafka_imkafka.c
new file mode 100644
index 000000000000..6c15321c5dd1
--- /dev/null
+++ b/sysutils/rsyslog8/files/patch-plugins_imkafka_imkafka.c
@@ -0,0 +1,10 @@
+--- plugins/imkafka/imkafka.c.orig 2026-02-28 14:27:13 UTC
++++ plugins/imkafka/imkafka.c
+@@ -27,6 +27,7 @@
+ #define _GNU_SOURCE /* for timegm */
+ #endif
+ #define _XOPEN_SOURCE 700 /* for strptime */
++#define __BSD_VISIBLE 1 /* for uint typedef */
+ #include "config.h"
+ #include <stdio.h>
+ #include <stdarg.h>