summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAisha Tammy <gentoo@aisha.cc>2020-10-30 11:52:40 -0400
committerAaron Bauman <bman@gentoo.org>2020-11-13 16:26:06 -0500
commit982f94041641d9900756f59cabafddd380e66e5a (patch)
tree7943cf75c0fd6a66f1263df40727e7aa08b9b1d2 /gui-apps
parentnet-im/telegram-desktop-bin: cleanup old (diff)
downloadgentoo-982f94041641d9900756f59cabafddd380e66e5a.tar.gz
gentoo-982f94041641d9900756f59cabafddd380e66e5a.tar.bz2
gentoo-982f94041641d9900756f59cabafddd380e66e5a.zip
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 <gentoo@aisha.cc> Closes: https://github.com/gentoo/gentoo/pull/18077 Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'gui-apps')
-rw-r--r--gui-apps/gtkgreet/files/gtkgreet-0.6-r1-werror.patch12
-rw-r--r--gui-apps/gtkgreet/gtkgreet-0.6-r1.ebuild7
-rw-r--r--gui-apps/gtkgreet/gtkgreet-9999.ebuild2
3 files changed, 18 insertions, 3 deletions
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)