archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / stardict / trunk / mariadb.patch
blobb5b175a9ee9c6f5ac2d713079c7bebec8f562909
1 diff --git a/tools/src/wikipediaImage.cpp b/tools/src/wikipediaImage.cpp
2 index ff38f50..2fa5712 100644
3 --- a/tools/src/wikipediaImage.cpp
4 +++ b/tools/src/wikipediaImage.cpp
5 @@ -25,6 +25,10 @@
6 #define CONN_PASS "123"
7 #define CONN_DB "wikidb"
9 +/* MariaDB >= 10.2 client does not set MYSQL_PORT */
10 +#ifndef MYSQL_PORT
11 +# define MYSQL_PORT 3306
12 +#endif
14 void dump_file()