aboutsummaryrefslogtreecommitdiffstats
path: root/main/mariadb-connector-c
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.dk>2018-05-20 15:19:23 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2018-06-12 12:43:48 +0000
commitd13a0cbbb31c33899b8f32d97255a3a956a20a4b (patch)
treea4e7e5a4ff9ca85623c573401d76e6eabd8764bc /main/mariadb-connector-c
parentb9da620858c19325627099158ccf33d5d9f0baec (diff)
downloadaports-d13a0cbbb31c33899b8f32d97255a3a956a20a4b.tar.bz2
aports-d13a0cbbb31c33899b8f32d97255a3a956a20a4b.tar.xz
main/mariadb-connector-c: upgrade to 3.0.4
Diffstat (limited to 'main/mariadb-connector-c')
-rw-r--r--main/mariadb-connector-c/APKBUILD12
-rw-r--r--main/mariadb-connector-c/cmake.patch10
2 files changed, 11 insertions, 11 deletions
diff --git a/main/mariadb-connector-c/APKBUILD b/main/mariadb-connector-c/APKBUILD
index 7a48319447..64cd16e5f2 100644
--- a/main/mariadb-connector-c/APKBUILD
+++ b/main/mariadb-connector-c/APKBUILD
@@ -1,16 +1,16 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mariadb-connector-c
-pkgver=3.0.3
-pkgrel=2
+pkgver=3.0.4
+pkgrel=0
pkgdesc="The MariaDB Native Client library (C driver)"
-url="http://mariadb.org/"
+url="https://mariadb.org/"
arch="all"
license="LGPLv2+"
depends_dev="libressl-dev zlib-dev"
makedepends="$depends_dev cmake"
replaces="mariadb-client-libs"
subpackages="$pkgname-dev"
-source="https://downloads.mariadb.org/interstitial/connector-c-3.0.3/mariadb-connector-c-$pkgver-src.tar.gz
+source="https://downloads.mariadb.org/interstitial/connector-c-$pkgver/mariadb-connector-c-$pkgver-src.tar.gz
cmake.patch
fix-ucontext-header.patch
"
@@ -58,6 +58,6 @@ dev() {
mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}
-sha512sums="6da66a32165cb74b106bf94e13a35d4bb38f05e5d2b3ff3740862dfc0892a7705977c1394b4f84b8e1f1e50a59a3fadbc62e7733b1feb532c6368a9fc262db04 mariadb-connector-c-3.0.3-src.tar.gz
-4fef45afaa2135310654e31df09de6a451014bdd495b9aa08467b666f543a643c1efdbcca4e866120a357e26a228765f511e8420327708775148b120ec9f161c cmake.patch
+sha512sums="6edc7b70380aade1c88a3d9dac70d6da846e6e2e7d7b0dc2eddaba148dc3889f2baa3e757a8b91e479b1ae14051d9f948fbfdc516219e21d4a3117f6700cb020 mariadb-connector-c-3.0.4-src.tar.gz
+027a9d383ce27a527b77ac06b9505709cad8fe0173455863590f502996966300fedea87687630113d74e5b9be5349217b18206c2dbb89f7064129cb5417e44cf cmake.patch
ad52cccb5517d11838bf16aee5aff63d87075e9ef5787e726d8bfea2854d3e2b5fa7aa94c0e93b1f7e7e21f48d21b1b6fcdd161fadb9999dcc7a3a5b8e12d883 fix-ucontext-header.patch"
diff --git a/main/mariadb-connector-c/cmake.patch b/main/mariadb-connector-c/cmake.patch
index 87eee0e0c0..f3f6060af6 100644
--- a/main/mariadb-connector-c/cmake.patch
+++ b/main/mariadb-connector-c/cmake.patch
@@ -1,13 +1,13 @@
---- mariadb-connector-c-3.0.2-src/mariadb_config/mariadb_config.c.in 2017-07-19 11:31:02.000000000 +0200
-+++ mariadb-connector-c-3.0.2-src/mariadb_config/mariadb_config.c.in_patched 2017-10-25 12:32:42.075324299 +0200
+--- a/mariadb_config/mariadb_config.c.in
++++ b/mariadb_config/mariadb_config.c.in
@@ -5,8 +5,8 @@
static char *mariadb_progname;
-#define INCLUDE "-I@CMAKE_INSTALL_PREFIX@/@INSTALL_INCLUDEDIR@ -I@CMAKE_INSTALL_PREFIX@/@INSTALL_INCLUDEDIR@/mysql"
--#define LIBS "-L@CMAKE_INSTALL_PREFIX@/@INSTALL_LIBDIR@/ -lmariadb "\
+-#define LIBS "-L@CMAKE_INSTALL_PREFIX@/@INSTALL_LIBDIR@/ -lmariadb @extra_dynamic_LDFLAGS@"
+#define INCLUDE "-I@INSTALL_INCLUDEDIR@ -I@INSTALL_INCLUDEDIR@"
-+#define LIBS "-L@INSTALL_LIBDIR@/ -lmariadb "\
- "@extra_dynamic_LDFLAGS@"
++#define LIBS "-L@INSTALL_LIBDIR@/ -lmariadb @extra_dynamic_LDFLAGS@"
#define LIBS_SYS "@extra_dynamic_LDFLAGS@"
#define CFLAGS INCLUDE
+ #define VERSION "@MARIADB_CLIENT_VERSION@"