commit:     cfee274be187dc0e256e26178ab850370a2d7c7a
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 28 05:56:08 2019 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Sep 28 05:56:08 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfee274b

dev-libs/rlottie: disable -Werror (bug #695268)

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 .../files/rlottie-0.0.1_pre20190920-disable-werror.patch      | 11 +++++++++++
 dev-libs/rlottie/rlottie-0.0.1_pre20190920.ebuild             |  2 ++
 2 files changed, 13 insertions(+)

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 00000000000..60676f7f8e3
--- /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 db0b6fcd223..4a01fd362b8 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)

Reply via email to