1 |
commit: 0778a51ae1cc7db7aaffb790a5225e644cd98f3f |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 11 10:44:36 2019 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 11 10:44:46 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0778a51a |
7 |
|
8 |
dev-libs/libdbusmenu: drop werror, bug #691260 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/691260 |
11 |
Package-Manager: Portage-2.3.71, Repoman-2.3.17 |
12 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
13 |
|
14 |
.../files/libdbusmenu-16.04.0-werror.patch | 37 ++++++++++++++++++++++ |
15 |
dev-libs/libdbusmenu/libdbusmenu-16.04.0.ebuild | 3 +- |
16 |
2 files changed, 39 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/dev-libs/libdbusmenu/files/libdbusmenu-16.04.0-werror.patch b/dev-libs/libdbusmenu/files/libdbusmenu-16.04.0-werror.patch |
19 |
new file mode 100644 |
20 |
index 00000000000..aaa61785b3b |
21 |
--- /dev/null |
22 |
+++ b/dev-libs/libdbusmenu/files/libdbusmenu-16.04.0-werror.patch |
23 |
@@ -0,0 +1,37 @@ |
24 |
+https://bugs.gentoo.org/691260 |
25 |
+ |
26 |
+--- a/libdbusmenu-glib/Makefile.am |
27 |
++++ b/libdbusmenu-glib/Makefile.am |
28 |
+@@ -68,3 +68,3 @@ libdbusmenu_glib_la_CFLAGS = \ |
29 |
+ $(COVERAGE_CFLAGS) \ |
30 |
+- -Wall -Werror -Wno-error=deprecated-declarations \ |
31 |
++ -Wall -Wno-error=deprecated-declarations \ |
32 |
+ -DG_LOG_DOMAIN="\"LIBDBUSMENU-GLIB\"" |
33 |
+--- a/libdbusmenu-gtk/Makefile.am |
34 |
++++ b/libdbusmenu-gtk/Makefile.am |
35 |
+@@ -68,3 +68,3 @@ libdbusmenu_gtk_la_CFLAGS = \ |
36 |
+ -I$(top_srcdir) \ |
37 |
+- -Wall -Werror -Wno-error=deprecated-declarations \ |
38 |
++ -Wall -Wno-error=deprecated-declarations \ |
39 |
+ -DG_LOG_DOMAIN="\"LIBDBUSMENU-GTK\"" |
40 |
+--- a/tests/Makefile.am |
41 |
++++ b/tests/Makefile.am |
42 |
+@@ -105,3 +105,3 @@ TESTS_ENVIRONMENT = env GI_TYPELIB_PATH=$(top_builddir)/libdbusmenu-glib:$(top_b |
43 |
+ DBUSMENU_GLIB_TEST_CFLAGS = \ |
44 |
+- -Wall -Werror \ |
45 |
++ -Wall \ |
46 |
+ -DG_DISABLE_DEPRECATED \ |
47 |
+--- a/tools/Makefile.am |
48 |
++++ b/tools/Makefile.am |
49 |
+@@ -18,3 +18,3 @@ dbusmenu_dumper_CFLAGS = \ |
50 |
+ $(DBUSMENUDUMPER_CFLAGS) \ |
51 |
+- -Wall -Werror |
52 |
++ -Wall |
53 |
+ |
54 |
+--- a/tools/testapp/Makefile.am |
55 |
++++ b/tools/testapp/Makefile.am |
56 |
+@@ -14,3 +14,3 @@ dbusmenu_testapp_CFLAGS = \ |
57 |
+ $(DBUSMENUGLIB_CFLAGS) \ |
58 |
+- -Wall -Werror |
59 |
++ -Wall |
60 |
+ |
61 |
|
62 |
diff --git a/dev-libs/libdbusmenu/libdbusmenu-16.04.0.ebuild b/dev-libs/libdbusmenu/libdbusmenu-16.04.0.ebuild |
63 |
index a5112080a49..d2da6965ec8 100644 |
64 |
--- a/dev-libs/libdbusmenu/libdbusmenu-16.04.0.ebuild |
65 |
+++ b/dev-libs/libdbusmenu/libdbusmenu-16.04.0.ebuild |
66 |
@@ -1,4 +1,4 @@ |
67 |
-# Copyright 1999-2018 Gentoo Authors |
68 |
+# Copyright 1999-2019 Gentoo Authors |
69 |
# Distributed under the terms of the GNU General Public License v2 |
70 |
|
71 |
EAPI=6 |
72 |
@@ -59,6 +59,7 @@ src_prepare() { |
73 |
python_fix_shebang tools |
74 |
|
75 |
eapply "${FILESDIR}/${P}-configure-fix.patch" |
76 |
+ eapply "${FILESDIR}/${P}-werror.patch" |
77 |
eapply_user |
78 |
eautoreconf |
79 |
} |