summaryrefslogtreecommitdiff
path: root/x11-misc/fbpanel/files/fbpanel-7.0-fno-common.patch
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/fbpanel/files/fbpanel-7.0-fno-common.patch')
-rw-r--r--x11-misc/fbpanel/files/fbpanel-7.0-fno-common.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/x11-misc/fbpanel/files/fbpanel-7.0-fno-common.patch b/x11-misc/fbpanel/files/fbpanel-7.0-fno-common.patch
new file mode 100644
index 000000000000..aafd8c4cc67b
--- /dev/null
+++ b/x11-misc/fbpanel/files/fbpanel-7.0-fno-common.patch
@@ -0,0 +1,21 @@
+--- a/panel/plugin.c
++++ b/panel/plugin.c
+@@ -22,6 +22,7 @@
+ /**************************************************************/
+ static GHashTable *class_ht;
+
++struct _plugin_instance *stam;
+
+ void
+ class_register(plugin_class *p)
+--- a/panel/plugin.h
++++ b/panel/plugin.h
+@@ -9,7 +9,7 @@
+ #include <stdio.h>
+ #include "panel.h"
+
+-struct _plugin_instance *stam;
++extern struct _plugin_instance *stam;
+
+ typedef struct {
+ /* common */