dev-libs/rlottie: disable -Werror (bug #695268)
authorJoonas Niilola <juippis@gentoo.org>
Sat, 28 Sep 2019 05:56:08 +0000 (08:56 +0300)
committerJoonas Niilola <juippis@gentoo.org>
Sat, 28 Sep 2019 05:56:08 +0000 (08:56 +0300)
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
dev-libs/rlottie/files/rlottie-0.0.1_pre20190920-disable-werror.patch [new file with mode: 0644]
dev-libs/rlottie/rlottie-0.0.1_pre20190920.ebuild

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 (file)
index 0000000..60676f7
--- /dev/null
@@ -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')
index db0b6fcd223650e96786bffdd99a89db8e84003a..4a01fd362b83d01942c7c07d192ed758c189db60 100644 (file)
@@ -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)