ports/devel/apr1/files/patch-PR59332
Bernard Spil f473a726db devel/apr1: Update to 1.7.3
* Update APR-util to 1.6.3
 * Fix build with MySQL 8 [2]
 * databases/db5 is depreacated since 2022-06-30 [3]
 * Switch default BDB to 18

PR:		269857, 230538 [2], 261523 [3]
Submitted by:	ngie
With hat:	apache
2023-04-01 15:42:03 +00:00

18 lines
465 B
Text

See https://bz.apache.org/bugzilla/show_bug.cgi?id=59332
Also reported in PR230538 devel/apr1 fails with mysql80-client
--- apr-util-1.6.3/dbd/apr_dbd_mysql.c.orig 2023-01-27 13:32:52 UTC
+++ apr-util-1.6.3/dbd/apr_dbd_mysql.c
@@ -44,6 +44,11 @@
#include <errmsg.h>
#endif
+#if !defined(HAVE_TYPE_MY_BOOL) && !defined(LIBMARIADB)
+#include <stdbool.h>
+typedef bool my_bool;
+#endif
+
#include "apr_strings.h"
#include "apr_lib.h"
#include "apr_buckets.h"