Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/fbpanel/files/, x11-misc/fbpanel/
Date: Sat, 01 Feb 2020 14:04:03
Message-Id: 1580565837.9cd2c526d77f0e7a7ab5bb10111b82095f0d0883.jer@gentoo
1 commit: 9cd2c526d77f0e7a7ab5bb10111b82095f0d0883
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 1 14:03:43 2020 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 1 14:03:57 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cd2c526
7
8 x11-misc/fbpanel: Fix CFLAGS=-fno-common
9
10 Package-Manager: Portage-2.3.86, Repoman-2.3.20
11 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
12
13 x11-misc/fbpanel/fbpanel-7.0-r1.ebuild | 3 ++-
14 x11-misc/fbpanel/files/fbpanel-7.0-fno-common.patch | 21 +++++++++++++++++++++
15 2 files changed, 23 insertions(+), 1 deletion(-)
16
17 diff --git a/x11-misc/fbpanel/fbpanel-7.0-r1.ebuild b/x11-misc/fbpanel/fbpanel-7.0-r1.ebuild
18 index 9acb74d5c5f..b468b2a537e 100644
19 --- a/x11-misc/fbpanel/fbpanel-7.0-r1.ebuild
20 +++ b/x11-misc/fbpanel/fbpanel-7.0-r1.ebuild
21 @@ -1,4 +1,4 @@
22 -# Copyright 1999-2019 Gentoo Authors
23 +# Copyright 1999-2020 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 EAPI=7
27 @@ -34,6 +34,7 @@ PATCHES=(
28 "${FILESDIR}"/${PN}-7.0-clang.patch
29 "${FILESDIR}"/${PN}-7.0-images.patch
30 "${FILESDIR}"/${PN}-7.0-shebangs.patch
31 + "${FILESDIR}"/${PN}-7.0-fno-common.patch
32 )
33
34 src_configure() {
35
36 diff --git a/x11-misc/fbpanel/files/fbpanel-7.0-fno-common.patch b/x11-misc/fbpanel/files/fbpanel-7.0-fno-common.patch
37 new file mode 100644
38 index 00000000000..aafd8c4cc67
39 --- /dev/null
40 +++ b/x11-misc/fbpanel/files/fbpanel-7.0-fno-common.patch
41 @@ -0,0 +1,21 @@
42 +--- a/panel/plugin.c
43 ++++ b/panel/plugin.c
44 +@@ -22,6 +22,7 @@
45 + /**************************************************************/
46 + static GHashTable *class_ht;
47 +
48 ++struct _plugin_instance *stam;
49 +
50 + void
51 + class_register(plugin_class *p)
52 +--- a/panel/plugin.h
53 ++++ b/panel/plugin.h
54 +@@ -9,7 +9,7 @@
55 + #include <stdio.h>
56 + #include "panel.h"
57 +
58 +-struct _plugin_instance *stam;
59 ++extern struct _plugin_instance *stam;
60 +
61 + typedef struct {
62 + /* common */