summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2020-12-23 20:46:07 +0800
committerYixun Lan <dlan@gentoo.org>2020-12-23 20:46:07 +0800
commitb60ee37156ca56219818e5cb5f359ec62c1f7209 (patch)
treeb5a3c2b4643c3d089cb8407e42c8018b0324cb66
parentnet-libs/libcork: fix -Werror build err (diff)
downloadgentoo-b60ee37156ca56219818e5cb5f359ec62c1f7209.tar.gz
gentoo-b60ee37156ca56219818e5cb5f359ec62c1f7209.tar.bz2
gentoo-b60ee37156ca56219818e5cb5f359ec62c1f7209.zip
net-libs/libcorkipset: fix -Werror build err
Closes: https://bugs.gentoo.org/754345 Package-Manager: Portage-3.0.0, Repoman-2.3.23 Signed-off-by: Yixun Lan <dlan@gentoo.org>
-rw-r--r--net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild b/net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild
index 93acbfa1f31b..c811d6770717 100644
--- a/net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild
+++ b/net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -32,6 +32,7 @@ src_prepare() {
*/*/*/*.c \
*/*/*/*.c.in \
*/*/*.c */*.c || die
+ sed -i -e "s/-Werror/-Wextra/" CMakeLists.txt || die
mv include/{,libcork}ipset || die