Source: opendnssec
Version: 1:2.1.7-1
Severity: minor

In Ubuntu this patch has been applied to allow building against a
default-libmysqlclient-dev that points against MySQL instead of MariaDB
as it's done in Debian.

diff -pruN 1:2.1.7-1/debian/patches/0016-mysql8_my_bool.patch 
1:2.1.7-1ubuntu1/debian/patches/0016-mysql8_my_bool.patch
--- 1:2.1.7-1/debian/patches/0016-mysql8_my_bool.patch  1970-01-01 
00:00:00.000000000 +0000
+++ 1:2.1.7-1ubuntu1/debian/patches/0016-mysql8_my_bool.patch   2020-02-14 
17:40:22.000000000 +0000
@@ -0,0 +1,17 @@
+Description: Reintroduce my_bool to fix build with MySQL 8
+Author: Andreas Hasenack <andr...@canonical.com>
+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/gambas3/+bug/1863026
+Forwarded: no
+Last-Update: 2020-02-12
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/enforcer/src/db/db_backend_mysql.c
++++ b/enforcer/src/db/db_backend_mysql.c
+@@ -33,6 +33,7 @@
+ #include "log.h"
+
+ #include <mysql/mysql.h>
++typedef bool my_bool;
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <unistd.h>


Please consider applying this in Debian too, so that the package can be
built without extra changes in Ubuntu too.

Thank you in advance.

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
More about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature

Reply via email to