commit:     cb74a910e6f63da0b57afe0f556b9bb3218a3177
Author:     Mykyta Holubakha <hilobakho <AT> gmail <DOT> com>
AuthorDate: Tue Oct 24 07:02:38 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sat Oct 28 08:59:50 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb74a910

dev-libs/sway: update live ebuild.

as per
https://github.com/swaywm/sway/commit/5551bf92a90e77ee4d0dc14bb4d2fe043be85c66

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

 dev-libs/sway/sway-9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/sway/sway-9999.ebuild b/dev-libs/sway/sway-9999.ebuild
index c6a223d2e27..8961800a2b1 100644
--- a/dev-libs/sway/sway-9999.ebuild
+++ b/dev-libs/sway/sway-9999.ebuild
@@ -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() {

Reply via email to