summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-02-02 15:28:39 +0100
committerJeroen Roovers <jer@gentoo.org>2020-02-02 15:29:06 +0100
commit3f2ecfb5581586a98c25ae204d2c98c3d03d8680 (patch)
tree4eeb6942ac3ffc22b8f6fd2be77188799d8e6b56
parentdev-vcs/fossil: version bump (bug #707902) (diff)
downloadgentoo-3f2ecfb5.tar.gz
gentoo-3f2ecfb5.tar.bz2
gentoo-3f2ecfb5.zip
x11-misc/trayer: Fix CFLAGS=-fno-common
Package-Manager: Portage-2.3.87, Repoman-2.3.20 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
-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() {