aboutsummaryrefslogtreecommitdiffstats
path: root/testing/stardict/mariadb.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-03-26 11:12:08 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-03-26 11:12:08 +0000
commit022782cbe656aa2272aaafe432da5238877d97d6 (patch)
treeed610774e1b44ee50885502435b29768f1c2f772 /testing/stardict/mariadb.patch
parent329c1ed4c5c9ba996caf54c23d6b072e4ea253b7 (diff)
downloadaports-022782cbe656aa2272aaafe432da5238877d97d6.tar.gz
aports-022782cbe656aa2272aaafe432da5238877d97d6.tar.bz2
aports-022782cbe656aa2272aaafe432da5238877d97d6.tar.xz
testing/stardict: rebuild against mariadb-connector-c
Diffstat (limited to 'testing/stardict/mariadb.patch')
-rw-r--r--testing/stardict/mariadb.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/stardict/mariadb.patch b/testing/stardict/mariadb.patch
new file mode 100644
index 0000000000..b525d0532c
--- /dev/null
+++ b/testing/stardict/mariadb.patch
@@ -0,0 +1,13 @@
+diff --git a/tools/src/wikipediaImage.cpp b/tools/src/wikipediaImage.cpp
+index ff38f50..df5191b 100644
+--- a/tools/src/wikipediaImage.cpp
++++ b/tools/src/wikipediaImage.cpp
+@@ -31,7 +31,7 @@ void dump_file()
+ MYSQL mysql;
+ if (!mysql_init(&mysql))
+ return;
+- if (!mysql_real_connect(&mysql, CONN_HOST , CONN_USER , CONN_PASS, NULL , MYSQL_PORT, NULL, 0))
++ if (!mysql_real_connect(&mysql, CONN_HOST , CONN_USER , CONN_PASS, NULL , MARIADB_PORT, NULL, 0))
+ return;
+ if (mysql_select_db(&mysql, CONN_DB))
+ return;