x11-misc/trayer: Fix CFLAGS=-fno-common
authorJeroen Roovers <jer@gentoo.org>
Sun, 2 Feb 2020 14:28:39 +0000 (15:28 +0100)
committerJeroen Roovers <jer@gentoo.org>
Sun, 2 Feb 2020 14:29:06 +0000 (15:29 +0100)
Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
x11-misc/trayer/files/trayer-1.0-fno-common.patch [new file with mode: 0644]
x11-misc/trayer/trayer-1.0-r4.ebuild

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 (file)
index 0000000..c8fd20a
--- /dev/null
@@ -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;
index eab20e2644252bb344af194a77698722dc4dc440..db168a56b03e840c5034886b33c9cb8844b142ae 100644 (file)
@@ -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() {