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/trayer/, x11-misc/trayer/files/
Date: Sun, 02 Feb 2020 14:29:12
Message-Id: 1580653746.3f2ecfb5581586a98c25ae204d2c98c3d03d8680.jer@gentoo
1 commit: 3f2ecfb5581586a98c25ae204d2c98c3d03d8680
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 2 14:28:39 2020 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 2 14:29:06 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f2ecfb5
7
8 x11-misc/trayer: Fix CFLAGS=-fno-common
9
10 Package-Manager: Portage-2.3.87, Repoman-2.3.20
11 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
12
13 x11-misc/trayer/files/trayer-1.0-fno-common.patch | 11 +++++++++++
14 x11-misc/trayer/trayer-1.0-r4.ebuild | 3 ++-
15 2 files changed, 13 insertions(+), 1 deletion(-)
16
17 diff --git a/x11-misc/trayer/files/trayer-1.0-fno-common.patch b/x11-misc/trayer/files/trayer-1.0-fno-common.patch
18 new file mode 100644
19 index 00000000000..c8fd20a6cee
20 --- /dev/null
21 +++ b/x11-misc/trayer/files/trayer-1.0-fno-common.patch
22 @@ -0,0 +1,11 @@
23 +--- a/plugin.h
24 ++++ b/plugin.h
25 +@@ -9,8 +9,6 @@
26 + #include <stdio.h>
27 + #include "panel.h"
28 +
29 +-struct _plugin *stam;
30 +-
31 + typedef struct {
32 + /* common */
33 + char *fname;
34
35 diff --git a/x11-misc/trayer/trayer-1.0-r4.ebuild b/x11-misc/trayer/trayer-1.0-r4.ebuild
36 index eab20e26442..db168a56b03 100644
37 --- a/x11-misc/trayer/trayer-1.0-r4.ebuild
38 +++ b/x11-misc/trayer/trayer-1.0-r4.ebuild
39 @@ -1,4 +1,4 @@
40 -# Copyright 1999-2019 Gentoo Authors
41 +# Copyright 1999-2020 Gentoo Authors
42 # Distributed under the terms of the GNU General Public License v2
43
44 EAPI=7
45 @@ -27,6 +27,7 @@ PATCHES=(
46 "${FILESDIR}"/${P}-dont-include-gdk-pixbuf-xlib.patch
47 "${FILESDIR}"/${P}-dont-include-libXmu.patch
48 "${FILESDIR}"/${P}-as-needed-and-pre-stripped.patch
49 + "${FILESDIR}"/${P}-fno-common.patch
50 )
51
52 src_compile() {