x11/fbpanel: fix build with -fno-common

The patch taken from Fedora.
This commit is contained in:
Boris Samorodov 2020-08-30 19:47:27 +00:00
parent 8745403e86
commit 3c6e48b734
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=547076

View File

@ -1,11 +1,11 @@
--- panel/plugin.h.orig 2020-08-28 22:09:44 UTC
--- panel/plugin.h.orig 2020-08-30 19:42:52 UTC
+++ panel/plugin.h
@@ -9,7 +9,7 @@
#include <stdio.h>
#include "panel.h"
-struct _plugin_instance *stam;
+extern struct _plugin_instance *stam;
+struct _plugin_instance;
typedef struct {
/* common */