commit:     264f42fd95eb16cd50654446fc78309fc24bd0ab
Author:     Ionen Wolkens <sudinave <AT> gmail <DOT> com>
AuthorDate: Sun Mar 21 17:20:16 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Mar 21 17:20:16 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=264f42fd

gui-libs/egl-wayland: don't use -Werror for build

Closes: https://github.com/gentoo/gentoo/pull/20037
Closes: https://bugs.gentoo.org/777546
Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 gui-libs/egl-wayland/egl-wayland-1.1.6.ebuild                    | 4 ++++
 gui-libs/egl-wayland/files/egl-wayland-1.1.6-remove-werror.patch | 7 +++++++
 2 files changed, 11 insertions(+)

diff --git a/gui-libs/egl-wayland/egl-wayland-1.1.6.ebuild 
b/gui-libs/egl-wayland/egl-wayland-1.1.6.ebuild
index 6d38529baad..c853264cb3d 100644
--- a/gui-libs/egl-wayland/egl-wayland-1.1.6.ebuild
+++ b/gui-libs/egl-wayland/egl-wayland-1.1.6.ebuild
@@ -22,6 +22,10 @@ DEPEND="
        media-libs/libglvnd"
 BDEPEND="dev-util/wayland-scanner"
 
+PATCHES=(
+       "${FILESDIR}"/${P}-remove-werror.patch
+)
+
 src_install() {
        meson_src_install
 

diff --git a/gui-libs/egl-wayland/files/egl-wayland-1.1.6-remove-werror.patch 
b/gui-libs/egl-wayland/files/egl-wayland-1.1.6-remove-werror.patch
new file mode 100644
index 00000000000..ef392d9b556
--- /dev/null
+++ b/gui-libs/egl-wayland/files/egl-wayland-1.1.6-remove-werror.patch
@@ -0,0 +1,7 @@
+https://bugs.gentoo.org/777546
+--- a/src/meson.build
++++ b/src/meson.build
+@@ -7,3 +7,2 @@
+ add_project_arguments('-Wall', language : 'c')
+-add_project_arguments('-Werror', language : 'c')
+ add_project_arguments('-fvisibility=hidden', language : 'c')

Reply via email to