summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/trayer')
-rw-r--r--x11-misc/trayer/files/trayer-1.0-fno-common.patch11
-rw-r--r--x11-misc/trayer/trayer-1.0-r4.ebuild3
2 files changed, 13 insertions, 1 deletions
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 000000000000..c8fd20a6ceeb
--- /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 eab20e264425..db168a56b03e 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() {