From: Jeroen Roovers Date: Sun, 2 Feb 2020 14:28:39 +0000 (+0100) Subject: x11-misc/trayer: Fix CFLAGS=-fno-common X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=3f2ecfb5581586a98c25ae204d2c98c3d03d8680;p=gentoo.git x11-misc/trayer: Fix CFLAGS=-fno-common Package-Manager: Portage-2.3.87, Repoman-2.3.20 Signed-off-by: Jeroen Roovers --- 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 + #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() {