summaryrefslogtreecommitdiffstats
path: root/development/mysql-workbench/mysql-workbench.SlackBuild
diff options
context:
space:
mode:
author Matteo Bernardini2019-11-17 09:41:16 +0100
committer Matteo Bernardini2019-11-17 09:41:16 +0100
commitb1037bdb13cfab1a866971d09462ace5cad56259 (patch)
tree2ede4cb69452c1eff3dbf47b08cf60be0cabeaed /development/mysql-workbench/mysql-workbench.SlackBuild
parented263eba8d75390f0e7789cc9e924e1be2584f69 (diff)
downloadslackbuilds-current-20191117.1.tar.gz
20191117.1 global branch merge.current-20191117.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'development/mysql-workbench/mysql-workbench.SlackBuild')
-rw-r--r--development/mysql-workbench/mysql-workbench.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/development/mysql-workbench/mysql-workbench.SlackBuild b/development/mysql-workbench/mysql-workbench.SlackBuild
index b2344f4ef3..b0d607b78f 100644
--- a/development/mysql-workbench/mysql-workbench.SlackBuild
+++ b/development/mysql-workbench/mysql-workbench.SlackBuild
@@ -74,6 +74,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# From Archlinux: GCC 7.x complains about an unsupported flag; it also
+# introduced some new warnings, remove '-Werror' for the build to complete
+sed -i 's|-Wno-deprecated-register||' ext/scintilla/gtk/CMakeLists.txt
+sed -i '/^set/s|-Werror -Wall|-Wall|' CMakeLists.txt
+
# Patch from Ponce
patch -p1 < $CWD/config_and_ifconfig_paths.patch