commit:     f3aeafa1ffe571ea5ef4b0ae80424f01ccb7b058
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 14 08:18:57 2021 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Thu Jan 14 08:20:02 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3aeafa1

net-proxy/shadowsocks-libev: fix -Werror issue

Closes: https://bugs.gentoo.org/765364
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.5.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.5.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.5.ebuild
index 5349e2ab840..4829df5517b 100644
--- a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.5.ebuild
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -39,6 +39,9 @@ DEPEND="${RDEPEND}
 src_prepare() {
        sed -i -e 's|AC_CONFIG_FILES(\[libbloom/Makefile libcork/Makefile 
libipset/Makefile\])||' \
                configure.ac || die
+       sed -i -e 's|-Werror||g' \
+               configure.ac src/Makefile.am || die
+
        default
        eautoreconf
 }

Reply via email to