From cfee274be187dc0e256e26178ab850370a2d7c7a Mon Sep 17 00:00:00 2001 From: Joonas Niilola Date: Sat, 28 Sep 2019 08:56:08 +0300 Subject: [PATCH] dev-libs/rlottie: disable -Werror (bug #695268) Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Joonas Niilola --- .../rlottie-0.0.1_pre20190920-disable-werror.patch | 11 +++++++++++ dev-libs/rlottie/rlottie-0.0.1_pre20190920.ebuild | 2 ++ 2 files changed, 13 insertions(+) create mode 100644 dev-libs/rlottie/files/rlottie-0.0.1_pre20190920-disable-werror.patch diff --git a/dev-libs/rlottie/files/rlottie-0.0.1_pre20190920-disable-werror.patch b/dev-libs/rlottie/files/rlottie-0.0.1_pre20190920-disable-werror.patch new file mode 100644 index 000000000000..60676f7f8e32 --- /dev/null +++ b/dev-libs/rlottie/files/rlottie-0.0.1_pre20190920-disable-werror.patch @@ -0,0 +1,11 @@ +diff -Naur a/meson.build b/meson.build +--- a/meson.build 2019-09-28 08:38:12.810010842 +0300 ++++ b/meson.build 2019-09-28 08:38:47.812649483 +0300 +@@ -1,6 +1,6 @@ + project('rlottie', + 'cpp', +- default_options : ['warning_level=3', 'werror=true', 'cpp_std=c++14', 'optimization=s'], ++ default_options : ['cpp_std=c++14', 'optimization=s'], + version : '0.0.1', + license : 'Apache') + diff --git a/dev-libs/rlottie/rlottie-0.0.1_pre20190920.ebuild b/dev-libs/rlottie/rlottie-0.0.1_pre20190920.ebuild index db0b6fcd2236..4a01fd362b83 100644 --- a/dev-libs/rlottie/rlottie-0.0.1_pre20190920.ebuild +++ b/dev-libs/rlottie/rlottie-0.0.1_pre20190920.ebuild @@ -22,6 +22,8 @@ DEPEND="test? ( dev-cpp/gtest )" S="${WORKDIR}/rlottie-${MY_COMMIT}" +PATCHES=( "${FILESDIR}"/rlottie-0.0.1_pre20190920-disable-werror.patch ) + src_configure() { local emesonargs=( $(meson_use test) -- 2.26.2