Created attachment 1297014 [details] Patch to allow compilation of mydns with MariaDB 10.2 Trying to build mydns with the new version of MariaDB 10.2 causes an error: In file included from named.h:26:0, from main.c:21: main.c: In function 'cmdline': ../../lib/mydnsutil.h:180:36: error: expected ')' before 'MYSQL_SERVER_VERSION' # define SQL_VERSION_STR "MySQL " MYSQL_SERVER_VERSION ^ In this new version of MariaDB they introduced a new mariadb_version.h header and mysql.h includes this header instead of mysql_version.h. But the mysql_version.h is still present. I'm attaching a patch proposal to fix the problem. We are tracking all the possible problems regarding this MariaDB upgrade in the bug 1467297. Copr build: https://copr.fedorainfracloud.org/coprs/g/db-sig/mariadb-10.2/package/mydns/
Build done: https://koji.fedoraproject.org/koji/taskinfo?taskID=20651297 Wasn't able to submit the patch upstream as registration for their bug tracker doesn't seem to be working (claims to be sending you a confirmation mail, never actually did).
thank you, I will be happy to accept your patch.
Now managed to submit an issue upstream with a link to this bug and patch: http://bugs.mydns-ng.com/view.php?id=78