Package: libodb-mysql / 2.4.0-4

mariadb_FTBFS_fix.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: fix FTBFS with recent MariaDB versions
 Don't include internal an header, only the main one.
Bug-Debian: https://bugs.debian.org/919374
Forwarded: no
Author: Laszlo Boszormenyi (GCS) <gcs@debian.org>
Last-Update: 2019-01-15

---

--- libodb-mysql-2.4.0.orig/odb/mysql/mysql-types.hxx
+++ libodb-mysql-2.4.0/odb/mysql/mysql-types.hxx
@@ -11,9 +11,9 @@ typedef char my_bool;
 typedef struct st_mysql_bind MYSQL_BIND;
 
 #ifdef LIBODB_MYSQL_INCLUDE_SHORT
-#  include <mysql_time.h>
+#  include <mysql.h>
 #else
-#  include <mysql/mysql_time.h>
+#  include <mysql/mysql.h>
 #endif
 
 #endif // ODB_MYSQL_MYSQL_TYPES_HXX