From 982f94041641d9900756f59cabafddd380e66e5a Mon Sep 17 00:00:00 2001 From: Aisha Tammy Date: Fri, 30 Oct 2020 11:52:40 -0400 Subject: gui-apps/gtkgreet: remove Werror build flag Closes: https://bugs.gentoo.org/750707 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Aisha Tammy Closes: https://github.com/gentoo/gentoo/pull/18077 Signed-off-by: Aaron Bauman --- gui-apps/gtkgreet/files/gtkgreet-0.6-r1-werror.patch | 12 ++++++++++++ gui-apps/gtkgreet/gtkgreet-0.6-r1.ebuild | 7 ++++--- gui-apps/gtkgreet/gtkgreet-9999.ebuild | 2 ++ 3 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 gui-apps/gtkgreet/files/gtkgreet-0.6-r1-werror.patch (limited to 'gui-apps/gtkgreet') diff --git a/gui-apps/gtkgreet/files/gtkgreet-0.6-r1-werror.patch b/gui-apps/gtkgreet/files/gtkgreet-0.6-r1-werror.patch new file mode 100644 index 000000000000..f47a21adc122 --- /dev/null +++ b/gui-apps/gtkgreet/files/gtkgreet-0.6-r1-werror.patch @@ -0,0 +1,12 @@ +diff --git a/meson.build b/meson.build +index eb3a2b8..07bee48 100644 +--- a/meson.build ++++ b/meson.build +@@ -7,7 +7,6 @@ project( + default_options: [ + 'c_std=c11', + 'warning_level=2', +- 'werror=true', + ], + ) + diff --git a/gui-apps/gtkgreet/gtkgreet-0.6-r1.ebuild b/gui-apps/gtkgreet/gtkgreet-0.6-r1.ebuild index a74b52eb2e4b..93f8843afbf4 100644 --- a/gui-apps/gtkgreet/gtkgreet-0.6-r1.ebuild +++ b/gui-apps/gtkgreet/gtkgreet-0.6-r1.ebuild @@ -12,8 +12,7 @@ if [[ ${PV} == 9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://git.sr.ht/~kennylevinsen/gtkgreet" else - MY_PV=${PV/_rc/-rc} - SRC_URI="https://git.sr.ht/~kennylevinsen/gtkgreet/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://git.sr.ht/~kennylevinsen/gtkgreet/archive/${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64 ~ppc64 ~x86" fi @@ -23,8 +22,8 @@ IUSE="+layershell +man" DEPEND=" dev-libs/json-c:= - x11-libs/gtk+:3 layershell? ( gui-libs/gtk-layer-shell ) + x11-libs/gtk+:3 " RDEPEND=" ${DEPEND} @@ -35,6 +34,8 @@ BDEPEND=" man? ( app-text/scdoc ) " +PATCHES=( "${FILESDIR}"/${PN}-0.6-r1-werror.patch ) + src_configure() { local emesonargs=( $(meson_feature man man-pages) diff --git a/gui-apps/gtkgreet/gtkgreet-9999.ebuild b/gui-apps/gtkgreet/gtkgreet-9999.ebuild index bc41aaec11f9..93f8843afbf4 100644 --- a/gui-apps/gtkgreet/gtkgreet-9999.ebuild +++ b/gui-apps/gtkgreet/gtkgreet-9999.ebuild @@ -34,6 +34,8 @@ BDEPEND=" man? ( app-text/scdoc ) " +PATCHES=( "${FILESDIR}"/${PN}-0.6-r1-werror.patch ) + src_configure() { local emesonargs=( $(meson_feature man man-pages) -- cgit v1.2.3-65-gdbad