summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2020-12-23 20:38:43 +0800
committerYixun Lan <dlan@gentoo.org>2020-12-23 20:43:45 +0800
commitb00628908281fa91ee80ac5193475b79b032e2ce (patch)
tree25ab2776df1d73c27540dbbceed57b0ba9d65c38 /net-libs/libcork
parentsci-geosciences/osm2pgsql: migrate to lua-single.eclass (diff)
downloadgentoo-b00628908281fa91ee80ac5193475b79b032e2ce.tar.gz
gentoo-b00628908281fa91ee80ac5193475b79b032e2ce.tar.bz2
gentoo-b00628908281fa91ee80ac5193475b79b032e2ce.zip
net-libs/libcork: fix -Werror build err
Closes: https://bugs.gentoo.org/736766 Package-Manager: Portage-3.0.0, Repoman-2.3.23 Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'net-libs/libcork')
-rw-r--r--net-libs/libcork/libcork-0.15.0-r1.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/net-libs/libcork/libcork-0.15.0-r1.ebuild b/net-libs/libcork/libcork-0.15.0-r1.ebuild
index 24782aabf811..4ca5bbd356f8 100644
--- a/net-libs/libcork/libcork-0.15.0-r1.ebuild
+++ b/net-libs/libcork/libcork-0.15.0-r1.ebuild
@@ -29,6 +29,7 @@ src_prepare() {
fi
sed -i -e "/DESTINATION/s/\${PROJECT_NAME}/\${PROJECT_NAME}-${PVR}/g" \
docs/old/CMakeLists.txt || die
+ sed -i -e "s/-Werror/-Wextra/" CMakeLists.txt || die
cmake-utils_src_prepare
}