mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
sysutils/fluent-bit: Upgrade to 3.2.4
Hard code the coro stack size to something that is expected. Documentation states that 24576 is default [1] but FreeBSD has a PTHREAD_MIN_SIZE of only 4 * 512, so the coro stack size is just too small for some use cases [2]. [1] https://docs.fluentbit.io/manual/administration/configuring-fluent-bit PR: 283299 (reported by Antti Rasinen) |2] Release notes: https://github.com/fluent/fluent-bit/releases/tag/v3.2.4
This commit is contained in:
parent
452bd85ebb
commit
83d8d3bd7a
@ -1,6 +1,6 @@
|
||||
PORTNAME= fluent-bit
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 3.2.3
|
||||
DISTVERSION= 3.2.4
|
||||
CATEGORIES= sysutils
|
||||
|
||||
MAINTAINER= girgen@FreeBSD.org
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1734733314
|
||||
SHA256 (fluent-fluent-bit-v3.2.3_GH0.tar.gz) = 6a533d7f0f488d5fb707fead07f3ad147b300fb87cbd7b8ec461cc1de3607d80
|
||||
SIZE (fluent-fluent-bit-v3.2.3_GH0.tar.gz) = 28775279
|
||||
TIMESTAMP = 1736172749
|
||||
SHA256 (fluent-fluent-bit-v3.2.4_GH0.tar.gz) = 1e758df0dec0be3e33f903da1fbcc0f87bd266098147d511ca8d162cbb657576
|
||||
SIZE (fluent-fluent-bit-v3.2.4_GH0.tar.gz) = 28781866
|
||||
|
14
sysutils/fluent-bit/files/patch-include__flb_coro.h
Normal file
14
sysutils/fluent-bit/files/patch-include__flb_coro.h
Normal file
@ -0,0 +1,14 @@
|
||||
--- include/fluent-bit/flb_coro.h.orig 2024-12-30 22:32:11.000000000 +0100
|
||||
+++ include/fluent-bit/flb_coro.h 2025-01-06 23:50:52.035541000 +0100
|
||||
@@ -68,7 +68,11 @@
|
||||
#define STACK_FACTOR 2 /* Use 24KiB for coro stacks */
|
||||
#endif
|
||||
#else
|
||||
+#ifdef FLB_SYSTEM_FREEBSD
|
||||
+#define FLB_CORO_STACK_SIZE 24576 /* FreeBSD's PTHREAD_STACK_MIN is just 2048 */
|
||||
+#else
|
||||
#define STACK_FACTOR 1
|
||||
+#endif
|
||||
#endif
|
||||
|
||||
#ifdef FLB_CORO_STACK_SIZE
|
@ -21,6 +21,7 @@ include/fluent-bit/flb_cfl_record_accessor.h
|
||||
include/fluent-bit/flb_chunk_trace.h
|
||||
include/fluent-bit/flb_compat.h
|
||||
include/fluent-bit/flb_compression.h
|
||||
include/fluent-bit/flb_conditionals.h
|
||||
include/fluent-bit/flb_config.h
|
||||
include/fluent-bit/flb_config_format.h
|
||||
include/fluent-bit/flb_config_map.h
|
||||
|
Loading…
Reference in New Issue
Block a user