Hello, for some reasons the my_bool compatibility patch was throwing warning, that became error with gcc-14.
I updated the Ubuntu patch to use _Bool instead of char, fixing this FTBFS
Thanks for considering the patch.
diff -Nru opendnssec-2.1.13/debian/patches/0017-mysql8_my_bool.patch opendnssec-2.1.13/debian/patches/0017-mysql8_my_bool.patch
--- opendnssec-2.1.13/debian/patches/0017-mysql8_my_bool.patch 2024-08-16 12:46:33.000000000 +0200
+++ opendnssec-2.1.13/debian/patches/0017-mysql8_my_bool.patch 2024-08-20 08:51:57.000000000 +0200
@@ -1,10 +1,10 @@
-From: Andreas Hasenack <andreas@canonical.com>
+From: Andreas Hasenack <andreas@canonical.com>, Gianfranco Costamagna <locutusofborg@debian.org>
Date: Mon, 16 Aug 2021 02:46:08 +0200
Subject: Reintroduce my_bool to fix build with MySQL 8
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/gambas3/+bug/1863026
Forwarded: no
-Last-Update: 2020-02-12
+Last-Update: 2024-08-20
---
enforcer/src/db/db_backend_mysql.c | 6 ++++++
1 file changed, 6 insertions(+)
@@ -20,7 +20,7 @@
+
+/* Support building against MySQL. */
+#ifndef LIBMARIADB
-+typedef char my_bool;
++typedef _Bool my_bool;
+#endif
+
#include <stdlib.h>