summaryrefslogtreecommitdiff
path: root/multimedia/kodi/files/patch-xbmc_dbwrappers_mysqldataset.cpp
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2020-07-16 13:08:29 +0000
committerSteve Wills <swills@FreeBSD.org>2020-07-16 13:08:29 +0000
commit3377155d311a2a2279c4ff84343b30b0741d5f02 (patch)
tree191fc84de5774c472a7a080dc4e309b95efee7d2 /multimedia/kodi/files/patch-xbmc_dbwrappers_mysqldataset.cpp
parentdevel/libmsocket: fix build on powerpc(64) head (diff)
multimedia/kodi: update to 18.7.1
PR: 246595 Submitted by: yzrh@tuta.io
Diffstat (limited to 'multimedia/kodi/files/patch-xbmc_dbwrappers_mysqldataset.cpp')
-rw-r--r--multimedia/kodi/files/patch-xbmc_dbwrappers_mysqldataset.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/multimedia/kodi/files/patch-xbmc_dbwrappers_mysqldataset.cpp b/multimedia/kodi/files/patch-xbmc_dbwrappers_mysqldataset.cpp
new file mode 100644
index 000000000000..bd5849194ba1
--- /dev/null
+++ b/multimedia/kodi/files/patch-xbmc_dbwrappers_mysqldataset.cpp
@@ -0,0 +1,14 @@
+--- xbmc/dbwrappers/mysqldataset.cpp.orig 2020-05-19 23:10:06 UTC
++++ xbmc/dbwrappers/mysqldataset.cpp
+@@ -17,10 +17,8 @@
+ #include "utils/StringUtils.h"
+
+ #include "mysqldataset.h"
+-#ifdef HAS_MYSQL
++#if defined(HAS_MYSQL) || defined(HAS_MARIADB)
+ #include "mysql/errmsg.h"
+-#elif defined(HAS_MARIADB)
+-#include <mariadb/errmsg.h>
+ #endif
+
+ #ifdef TARGET_POSIX