File: mariadb_FTBFS_fix.patch

package info (click to toggle)
libodb-mysql 2.4.0-4
  • links: PTS
  • area: main
  • in suites: buster
  • size: 2,364 kB
  • sloc: sh: 11,329; cpp: 2,765; makefile: 21
file content (23 lines) | stat: -rw-r--r-- 629 bytes parent folder | download | duplicates (3)
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