From 413bf2d2e9224e3b8084012e9189f62a46a461ed Mon Sep 17 00:00:00 2001 From: Palle Girgensohn Date: Wed, 23 Jun 2021 09:58:30 +0200 Subject: [PATCH] sysutils/fluent-bit: fix build problem on FreeBSD-14 This should really be considered a compiler bug. I have no access to a CURRENT box at the moment, so I'll just try this trivial patch and will hope that it helps. --- .../files/patch-lib__mbedtls-2.24.0__library__md5.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 sysutils/fluent-bit/files/patch-lib__mbedtls-2.24.0__library__md5.c diff --git a/sysutils/fluent-bit/files/patch-lib__mbedtls-2.24.0__library__md5.c b/sysutils/fluent-bit/files/patch-lib__mbedtls-2.24.0__library__md5.c new file mode 100644 index 000000000000..1e60c667600a --- /dev/null +++ b/sysutils/fluent-bit/files/patch-lib__mbedtls-2.24.0__library__md5.c @@ -0,0 +1,12 @@ +--- lib/mbedtls-2.24.0/library/md5.c.orig 2021-06-23 09:56:17.365471000 +0200 ++++ lib/mbedtls-2.24.0/library/md5.c 2021-06-23 09:56:30.205899000 +0200 +@@ -422,8 +422,7 @@ + { "message digest" }, + { "abcdefghijklmnopqrstuvwxyz" }, + { "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" }, +- { "12345678901234567890123456789012345678901234567890123456789012" +- "345678901234567890" } ++ { "12345678901234567890123456789012345678901234567890123456789012345678901234567890" } + }; + + static const size_t md5_test_buflen[7] =