summaryrefslogtreecommitdiff
path: root/x11-plugins/purple-libnotify-plus/files/purple-libnotify-plus-2.99.1-fno-common.patch
blob: f6d2d01209acc091ea6a94b4fd23049c692a11d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# https://bugs.gentoo.org/955791
# https://bugs.gentoo.org/717422
# From: Bill Prendergast <dek.devel@baisenvar.info>

--- a/src/purple-libnotify+-common.h
+++ b/src/purple-libnotify+-common.h
@@ -27,13 +27,14 @@
 
 extern PurplePlugin *notify_plus;
 
-struct
+struct notify_plus_data_
 {
 	gboolean modify_notification;
 	gboolean use_svg;
 	gboolean overlay_icon;
 	gboolean set_transcient;
 	gboolean actions;
-} notify_plus_data;
+};
+extern struct notify_plus_data_ notify_plus_data;
 
 #endif /* __PURPLE_LIBNOTIFY_PLUS_COMMON_H__ */
--- a/src/purple-libnotify+.c
+++ b/src/purple-libnotify+.c
@@ -30,6 +30,7 @@
 #include "purple-libnotify+-frames.h"
 
 PurplePlugin *notify_plus = NULL;
+struct notify_plus_data_ notify_plus_data;
 
 static void
 _purple_notify_plus_signed_on(PurpleBuddy *buddy, PurplePlugin *plugin)