1 |
commit: 1785afa0aba9c8d46f05c9f0253c8e7985bf1816 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 26 19:46:18 2020 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 26 19:46:18 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1785afa0 |
7 |
|
8 |
gnome-base/gnome-control-center: Fix GCC 10 / -fno-common |
9 |
|
10 |
Package-Manager: Portage-2.3.89, Repoman-2.3.20 |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
|
13 |
...ontrol-center-3.32.2-fix-gcc10-fno-common.patch | 26 ++++++++++++++++++++++ |
14 |
.../gnome-control-center-3.32.2.ebuild | 2 ++ |
15 |
2 files changed, 28 insertions(+) |
16 |
|
17 |
diff --git a/gnome-base/gnome-control-center/files/gnome-control-center-3.32.2-fix-gcc10-fno-common.patch b/gnome-base/gnome-control-center/files/gnome-control-center-3.32.2-fix-gcc10-fno-common.patch |
18 |
new file mode 100644 |
19 |
index 00000000000..b0a7a702654 |
20 |
--- /dev/null |
21 |
+++ b/gnome-base/gnome-control-center/files/gnome-control-center-3.32.2-fix-gcc10-fno-common.patch |
22 |
@@ -0,0 +1,26 @@ |
23 |
+From 901ef8b0ff2b05692cbaa119097f70615ea77ed4 Mon Sep 17 00:00:00 2001 |
24 |
+From: Mike Gorse <mgorse@××××.com> |
25 |
+Date: Thu, 9 Jan 2020 21:34:12 +0000 |
26 |
+Subject: [PATCH] Thunderbolt: make BoltError enum a typedef |
27 |
+ |
28 |
+Fixes error when compiled with -fno-common |
29 |
+--- |
30 |
+ panels/thunderbolt/bolt-error.h | 2 +- |
31 |
+ 1 file changed, 1 insertion(+), 1 deletion(-) |
32 |
+ |
33 |
+diff --git a/panels/thunderbolt/bolt-error.h b/panels/thunderbolt/bolt-error.h |
34 |
+index 39b3eee98..7d3823d35 100644 |
35 |
+--- a/panels/thunderbolt/bolt-error.h |
36 |
++++ b/panels/thunderbolt/bolt-error.h |
37 |
+@@ -31,7 +31,7 @@ G_BEGIN_DECLS |
38 |
+ * |
39 |
+ * Error codes used inside Bolt. |
40 |
+ */ |
41 |
+-enum { |
42 |
++typedef enum { |
43 |
+ BOLT_ERROR_FAILED = 0, |
44 |
+ BOLT_ERROR_UDEV, |
45 |
+ BOLT_ERROR_NOKEY, |
46 |
+-- |
47 |
+2.24.1 |
48 |
+ |
49 |
|
50 |
diff --git a/gnome-base/gnome-control-center/gnome-control-center-3.32.2.ebuild b/gnome-base/gnome-control-center/gnome-control-center-3.32.2.ebuild |
51 |
index cac1b28a467..70a11f09240 100644 |
52 |
--- a/gnome-base/gnome-control-center/gnome-control-center-3.32.2.ebuild |
53 |
+++ b/gnome-base/gnome-control-center/gnome-control-center-3.32.2.ebuild |
54 |
@@ -123,6 +123,8 @@ PATCHES=( |
55 |
# https://bugzilla.gnome.org/686840, 697478, 700145 |
56 |
# Fix some absolute paths to be appropriate for Gentoo |
57 |
"${WORKDIR}"/patches/ |
58 |
+ |
59 |
+ "${FILESDIR}"/${PN}-3.32.2-fix-gcc10-fno-common.patch # fixed in 3.35.90 |
60 |
) |
61 |
|
62 |
src_configure() { |