From 80372557415a2671584458be4d02cd60bcee0641 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 30 Jun 2022 14:32:42 +0200 Subject: pkgs/stardict: add stardict itself It seems to not be able to find translations but I am not using it anyway. I have it just for completeness. --- pkgs/stardict/mariadb.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 pkgs/stardict/mariadb.patch (limited to 'pkgs/stardict/mariadb.patch') diff --git a/pkgs/stardict/mariadb.patch b/pkgs/stardict/mariadb.patch new file mode 100644 index 0000000..b525d05 --- /dev/null +++ b/pkgs/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; -- cgit v1.2.3