aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPalle Girgensohn <girgen@FreeBSD.org>2021-06-23 07:58:30 +0000
committerPalle Girgensohn <girgen@FreeBSD.org>2021-06-23 20:51:12 +0000
commit413bf2d2e9224e3b8084012e9189f62a46a461ed (patch)
treee2e5705e681247fdc3b12d1feee699482e744405
parent24ba6b9eaa848b4acee817c1dfd119996484d95b (diff)
downloadports-413bf2d2e9224e3b8084012e9189f62a46a461ed.tar.gz
ports-413bf2d2e9224e3b8084012e9189f62a46a461ed.zip
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.
-rw-r--r--sysutils/fluent-bit/files/patch-lib__mbedtls-2.24.0__library__md5.c12
1 files changed, 12 insertions, 0 deletions
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] =