summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2019-08-11 11:44:36 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2019-08-11 11:44:46 +0100
commit0778a51ae1cc7db7aaffb790a5225e644cd98f3f (patch)
treeb2c4b37f9366f32261878f8a2e071678a8cb3171 /dev-libs/libdbusmenu
parentnet-irc/konversation: Fix missing header with Frameworks 5.61, EAPI-7 (diff)
downloadgentoo-0778a51ae1cc7db7aaffb790a5225e644cd98f3f.tar.gz
gentoo-0778a51ae1cc7db7aaffb790a5225e644cd98f3f.tar.bz2
gentoo-0778a51ae1cc7db7aaffb790a5225e644cd98f3f.zip
dev-libs/libdbusmenu: drop werror, bug #691260
Closes: https://bugs.gentoo.org/691260 Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-libs/libdbusmenu')
-rw-r--r--dev-libs/libdbusmenu/files/libdbusmenu-16.04.0-werror.patch37
-rw-r--r--dev-libs/libdbusmenu/libdbusmenu-16.04.0.ebuild3
2 files changed, 39 insertions, 1 deletions
diff --git a/dev-libs/libdbusmenu/files/libdbusmenu-16.04.0-werror.patch b/dev-libs/libdbusmenu/files/libdbusmenu-16.04.0-werror.patch
new file mode 100644
index 000000000000..aaa61785b3bb
--- /dev/null
+++ b/dev-libs/libdbusmenu/files/libdbusmenu-16.04.0-werror.patch
@@ -0,0 +1,37 @@
+https://bugs.gentoo.org/691260
+
+--- a/libdbusmenu-glib/Makefile.am
++++ b/libdbusmenu-glib/Makefile.am
+@@ -68,3 +68,3 @@ libdbusmenu_glib_la_CFLAGS = \
+ $(COVERAGE_CFLAGS) \
+- -Wall -Werror -Wno-error=deprecated-declarations \
++ -Wall -Wno-error=deprecated-declarations \
+ -DG_LOG_DOMAIN="\"LIBDBUSMENU-GLIB\""
+--- a/libdbusmenu-gtk/Makefile.am
++++ b/libdbusmenu-gtk/Makefile.am
+@@ -68,3 +68,3 @@ libdbusmenu_gtk_la_CFLAGS = \
+ -I$(top_srcdir) \
+- -Wall -Werror -Wno-error=deprecated-declarations \
++ -Wall -Wno-error=deprecated-declarations \
+ -DG_LOG_DOMAIN="\"LIBDBUSMENU-GTK\""
+--- a/tests/Makefile.am
++++ b/tests/Makefile.am
+@@ -105,3 +105,3 @@ TESTS_ENVIRONMENT = env GI_TYPELIB_PATH=$(top_builddir)/libdbusmenu-glib:$(top_b
+ DBUSMENU_GLIB_TEST_CFLAGS = \
+- -Wall -Werror \
++ -Wall \
+ -DG_DISABLE_DEPRECATED \
+--- a/tools/Makefile.am
++++ b/tools/Makefile.am
+@@ -18,3 +18,3 @@ dbusmenu_dumper_CFLAGS = \
+ $(DBUSMENUDUMPER_CFLAGS) \
+- -Wall -Werror
++ -Wall
+
+--- a/tools/testapp/Makefile.am
++++ b/tools/testapp/Makefile.am
+@@ -14,3 +14,3 @@ dbusmenu_testapp_CFLAGS = \
+ $(DBUSMENUGLIB_CFLAGS) \
+- -Wall -Werror
++ -Wall
+
diff --git a/dev-libs/libdbusmenu/libdbusmenu-16.04.0.ebuild b/dev-libs/libdbusmenu/libdbusmenu-16.04.0.ebuild
index a5112080a494..d2da6965ec8f 100644
--- a/dev-libs/libdbusmenu/libdbusmenu-16.04.0.ebuild
+++ b/dev-libs/libdbusmenu/libdbusmenu-16.04.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -59,6 +59,7 @@ src_prepare() {
python_fix_shebang tools
eapply "${FILESDIR}/${P}-configure-fix.patch"
+ eapply "${FILESDIR}/${P}-werror.patch"
eapply_user
eautoreconf
}