summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)