diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-01-31 11:33:10 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-01-31 11:33:24 +0100 |
commit | e997d6b79ac1d6f0839b6d38428d03a6ff2bcba4 (patch) | |
tree | 7e845552c33462d9ad9e64c5cf8067b9586a80ce /dev-db/mysql-workbench | |
parent | profiles: Mask kde-misc/kanyremote for removal (diff) | |
download | gentoo-e997d6b79ac1d6f0839b6d38428d03a6ff2bcba4.tar.gz gentoo-e997d6b79ac1d6f0839b6d38428d03a6ff2bcba4.tar.bz2 gentoo-e997d6b79ac1d6f0839b6d38428d03a6ff2bcba4.zip |
dev-db/mysql-workbench: fix building against mysql-connector-c++-8
Thanks to fedeliallalinea for providing a patch and Marco Genasci for
linking it to the bug.
Closes: https://bugs.gentoo.org/702666
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-db/mysql-workbench')
-rw-r--r-- | dev-db/mysql-workbench/files/mysql-workbench-8.0.19-mysql-connector-8.patch | 12 | ||||
-rw-r--r-- | dev-db/mysql-workbench/mysql-workbench-8.0.19.ebuild | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/dev-db/mysql-workbench/files/mysql-workbench-8.0.19-mysql-connector-8.patch b/dev-db/mysql-workbench/files/mysql-workbench-8.0.19-mysql-connector-8.patch new file mode 100644 index 000000000000..c624dea0e56d --- /dev/null +++ b/dev-db/mysql-workbench/files/mysql-workbench-8.0.19-mysql-connector-8.patch @@ -0,0 +1,12 @@ +diff -Naru a/build/cmake/Modules/FindMySQLCppConn.cmake b/build/cmake/Modules/FindMySQLCppConn.cmake +--- a/build/cmake/Modules/FindMySQLCppConn.cmake 2019-12-18 13:31:34.520496484 +0100 ++++ b/build/cmake/Modules/FindMySQLCppConn.cmake 2019-12-18 13:32:32.590496631 +0100 +@@ -27,7 +27,7 @@ + set(MySQLCppConn_FIND_QUIETLY TRUE) + endif () + +-find_path(MySQLCppConn_INCLUDE_DIR NAMES mysql_connection.h PATHS /usr/include /usr/local/include) ++find_path(MySQLCppConn_INCLUDE_DIR NAMES mysql_connection.h PATHS /usr/include /usr/include/jdbc /usr/local/include /usr/local/include/jdbc) + + SET(MySQLCppConn_NAMES mysqlcppconn) + diff --git a/dev-db/mysql-workbench/mysql-workbench-8.0.19.ebuild b/dev-db/mysql-workbench/mysql-workbench-8.0.19.ebuild index faddecba8cf4..4303dbc9863d 100644 --- a/dev-db/mysql-workbench/mysql-workbench-8.0.19.ebuild +++ b/dev-db/mysql-workbench/mysql-workbench-8.0.19.ebuild @@ -70,6 +70,7 @@ S="${WORKDIR}"/"${MY_P}" PATCHES=( "${FILESDIR}/${PN}-6.2.5-wbcopytables.patch" + "${FILESDIR}/${P}-mysql-connector-8.patch" ) src_unpack() { |