mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
development/mysql-workbench: Fix for gcc >= 7.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
7a34ef3965
commit
d5ce20f9eb
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue