dev-libs/sway: update live ebuild.
authorMykyta Holubakha <hilobakho@gmail.com>
Tue, 24 Oct 2017 07:02:38 +0000 (10:02 +0300)
committerPatrice Clement <monsieurp@gentoo.org>
Sat, 28 Oct 2017 08:59:50 +0000 (10:59 +0200)
as per
https://github.com/swaywm/sway/commit/5551bf92a90e77ee4d0dc14bb4d2fe043be85c66

Closes: https://github.com/gentoo/gentoo/pull/6035

dev-libs/sway/sway-9999.ebuild

index c6a223d2e275780766ca1c08044bc5b79cbc7a2c..8961800a2b13b26e53db6090fd604d9a295dfb94 100644 (file)
@@ -38,7 +38,7 @@ src_prepare() {
        cmake-utils_src_prepare
 
        # remove bad CFLAGS that upstream is trying to add
-       sed -i -e '/FLAGS.*-Werror/d' CMakeLists.txt || die
+       sed -i -e '/add_compile_options/s/-Werror//' CMakeLists.txt || die
 }
 
 src_configure() {