summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2019-09-28 08:56:08 +0300
committerJoonas Niilola <juippis@gentoo.org>2019-09-28 08:56:08 +0300
commitcfee274be187dc0e256e26178ab850370a2d7c7a (patch)
tree3b9cdd6b389fe56ba178887b0fe7c1acd8d37d3d /dev-libs/rlottie
parentdev-util/debugedit: Bump to 4.15.0 (diff)
downloadgentoo-cfee274be187dc0e256e26178ab850370a2d7c7a.tar.gz
gentoo-cfee274be187dc0e256e26178ab850370a2d7c7a.tar.bz2
gentoo-cfee274be187dc0e256e26178ab850370a2d7c7a.zip
dev-libs/rlottie: disable -Werror (bug #695268)
Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs/rlottie')
-rw-r--r--dev-libs/rlottie/files/rlottie-0.0.1_pre20190920-disable-werror.patch11
-rw-r--r--dev-libs/rlottie/rlottie-0.0.1_pre20190920.ebuild2
2 files changed, 13 insertions, 0 deletions
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)