diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-03-26 11:12:08 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-03-26 11:12:08 +0000 |
commit | 022782cbe656aa2272aaafe432da5238877d97d6 (patch) | |
tree | ed610774e1b44ee50885502435b29768f1c2f772 /testing | |
parent | 329c1ed4c5c9ba996caf54c23d6b072e4ea253b7 (diff) | |
download | aports-022782cbe656aa2272aaafe432da5238877d97d6.tar.bz2 aports-022782cbe656aa2272aaafe432da5238877d97d6.tar.xz |
testing/stardict: rebuild against mariadb-connector-c
Diffstat (limited to 'testing')
-rw-r--r-- | testing/stardict/APKBUILD | 7 | ||||
-rw-r--r-- | testing/stardict/mariadb.patch | 13 |
2 files changed, 18 insertions, 2 deletions
diff --git a/testing/stardict/APKBUILD b/testing/stardict/APKBUILD index e2db917c7e..03de15aeee 100644 --- a/testing/stardict/APKBUILD +++ b/testing/stardict/APKBUILD @@ -12,7 +12,9 @@ makedepends="automake autoconf libtool gtk+2.0-dev libsigc++-dev libxml2-dev gno subpackages="$pkgname-doc $pkgname-lang $pkgname-help::noarch" source="http://downloads.sourceforge.net/project/stardict-4/${pkgver}/${pkgname}-${pkgver}.tar.bz2 gcc46.patch - glib2.patch" + glib2.patch + mariadb.patch + " options="!check" prepare() { @@ -63,4 +65,5 @@ help() { sha512sums="81d93324b6e8954af7c20ea6d2a3054bb564d786a21b1cb541c728da7a18a6e7ddb23e595055ccc77e6866bbb8c89fb4f17023e33664761dbe1ee8cd55768658 stardict-3.0.6.tar.bz2 cc43b57cdf2e7fbd3e9c86acb4c8f9fef367d68f6f027e75774eec9cdf66b3fdd3b0bc58d373d076cb38671e09012ab69b8b7e81638a5be888af56372e65a838 gcc46.patch -4132eee58ab5dfb30105fd2c1a113d143528f7e904ededbb8de203bbb244377aed2c152aae7f383936e74005c2f4afa6128674a245d2a8083b2757b1ca90dd24 glib2.patch" +4132eee58ab5dfb30105fd2c1a113d143528f7e904ededbb8de203bbb244377aed2c152aae7f383936e74005c2f4afa6128674a245d2a8083b2757b1ca90dd24 glib2.patch +4b47cd6beb425316cdbe45ec8b6b965521ba20a956fe6a39a49da0b5e774b3ff5bc8ade19aa03216d3405ec7fbee9ed37add0a7ec07c090a6872eb2ae2654db9 mariadb.patch" 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; |