summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-db/mysql-workbench/files/mysql-workbench-8.0.19-mysql-connector-8.patch12
-rw-r--r--dev-db/mysql-workbench/mysql-workbench-8.0.19.ebuild1
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() {