commit:     6700ff4220b6a4c18ff673330d40753dba7f01d1
Author:     Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 17 14:10:02 2015 +0000
Commit:     Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Fri Jul 17 14:10:02 2015 +0000
URL:        https://gitweb.gentoo.org/proj/mysql.git/commit/?id=6700ff42

Version bump with patch that installs missing headers

 dev-db/mysql-connector-c/files/conn-c-includes.patch    | 15 +++++++++++++++
 dev-db/mysql-connector-c/mysql-connector-c-6.1.6.ebuild |  6 +++++-
 2 files changed, 20 insertions(+), 1 deletion(-)

diff --git a/dev-db/mysql-connector-c/files/conn-c-includes.patch 
b/dev-db/mysql-connector-c/files/conn-c-includes.patch
new file mode 100644
index 0000000..fcde71f
--- /dev/null
+++ b/dev-db/mysql-connector-c/files/conn-c-includes.patch
@@ -0,0 +1,15 @@
+diff -aurN a/include/CMakeLists.txt b/include/CMakeLists.txt
+--- a/include/CMakeLists.txt   2015-07-14 13:06:04.424091000 -0400
++++ b/include/CMakeLists.txt   2015-07-14 13:24:43.434091000 -0400
+@@ -55,6 +55,11 @@
+   byte_order_generic_x86.h
+   little_endian.h
+   big_endian.h
++  my_thread_local.h
++  thr_cond.h
++  thr_lock.h
++  thr_mutex.h
++  thr_rwlock.h
+   ${HEADERS_GEN_CONFIGURE}
+ )
+ 

diff --git a/dev-db/mysql-connector-c/mysql-connector-c-6.1.6.ebuild 
b/dev-db/mysql-connector-c/mysql-connector-c-6.1.6.ebuild
index 771a07b..2bde789 100644
--- a/dev-db/mysql-connector-c/mysql-connector-c-6.1.6.ebuild
+++ b/dev-db/mysql-connector-c/mysql-connector-c-6.1.6.ebuild
@@ -10,6 +10,9 @@ MULTILIB_WRAPPED_HEADERS+=(
        /usr/include/mysql/my_config.h
 )
 
+# wrap the config script
+MULTILIB_CHOST_TOOLS=( /usr/bin/mysql_config )
+
 DESCRIPTION="C client library for MariaDB/MySQL"
 HOMEPAGE="https://dev.mysql.com/downloads/connector/c/";
 LICENSE="GPL-2"
@@ -40,7 +43,8 @@ DEPEND="${CDEPEND}
 DOCS=( README Docs/ChangeLog )
 
 src_prepare() {
-       epatch "${FILESDIR}/openssl-cmake-detection.patch"
+       epatch "${FILESDIR}/openssl-cmake-detection.patch" \
+               "${FILESDIR}/conn-c-includes.patch"
        epatch_user
 }
 

Reply via email to