[arch-commits] Commit in mysql-workbench/trunk (PKGBUILD)
Christian Hesse
eworm at archlinux.org
Fri Jul 7 14:09:10 UTC 2017
Date: Friday, July 7, 2017 @ 14:09:10
Author: eworm
Revision: 242841
fix the GCC 7 changes
Modified:
mysql-workbench/trunk/PKGBUILD
----------+
PKGBUILD | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-07-07 13:42:34 UTC (rev 242840)
+++ PKGBUILD 2017-07-07 14:09:10 UTC (rev 242841)
@@ -72,7 +72,7 @@
patch -Np1 < "${srcdir}"/0005-gdal-use-CPLFree.patch
# GCC 7.x introduced some new warnings, remove '-Werror' for the build to complete
- sed -i 's|-Werror||' $(find -name CMakeLists.txt)
+ sed -i '/^set/s|-Werror -Wall|-Wall|' CMakeLists.txt
# GCC 7.x complains about unsupported flag
sed -i 's|-Wno-deprecated-register||' ext/scintilla/gtk/CMakeLists.txt
More information about the arch-commits
mailing list