commit: 3f2ecfb5581586a98c25ae204d2c98c3d03d8680
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 2 14:28:39 2020 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sun Feb 2 14:29:06 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f2ecfb5
x11-misc/trayer: Fix CFLAGS=-fno-common
Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
x11-misc/trayer/files/trayer-1.0-fno-common.patch | 11 +++++++++++
x11-misc/trayer/trayer-1.0-r4.ebuild | 3 ++-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/x11-misc/trayer/files/trayer-1.0-fno-common.patch
b/x11-misc/trayer/files/trayer-1.0-fno-common.patch
new file mode 100644
index 00000000000..c8fd20a6cee
--- /dev/null
+++ b/x11-misc/trayer/files/trayer-1.0-fno-common.patch
@@ -0,0 +1,11 @@
+--- a/plugin.h
++++ b/plugin.h
+@@ -9,8 +9,6 @@
+ #include <stdio.h>
+ #include "panel.h"
+
+-struct _plugin *stam;
+-
+ typedef struct {
+ /* common */
+ char *fname;
diff --git a/x11-misc/trayer/trayer-1.0-r4.ebuild
b/x11-misc/trayer/trayer-1.0-r4.ebuild
index eab20e26442..db168a56b03 100644
--- a/x11-misc/trayer/trayer-1.0-r4.ebuild
+++ b/x11-misc/trayer/trayer-1.0-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -27,6 +27,7 @@ PATCHES=(
"${FILESDIR}"/${P}-dont-include-gdk-pixbuf-xlib.patch
"${FILESDIR}"/${P}-dont-include-libXmu.patch
"${FILESDIR}"/${P}-as-needed-and-pre-stripped.patch
+ "${FILESDIR}"/${P}-fno-common.patch
)
src_compile() {