archrelease: copy trunk to community-any
[ArchLinux/community.git] / gnac / trunk / gcc10.patch
blob81b1344d484138894cf97b1fc22da353522ff2b0
1 diff --git a/libgnac/libgnac-converter.c b/libgnac/libgnac-converter.c
2 index 35d9bc4..e96cf97 100644
3 --- a/libgnac/libgnac-converter.c
4 +++ b/libgnac/libgnac-converter.c
5 @@ -78,7 +78,7 @@ G_DEFINE_TYPE(LibgnacConverter, libgnac_converter, G_TYPE_OBJECT);
6 LIBGNAC_TYPE_CONVERTER, LibgnacConverterPrivate))
9 -LibgnacMetadata *metadata;
10 +extern LibgnacMetadata *metadata;
13 static void
14 diff --git a/src/profiles/gnac-profiles-manager.c b/src/profiles/gnac-profiles-manager.c
15 index ba00b29..5952302 100644
16 --- a/src/profiles/gnac-profiles-manager.c
17 +++ b/src/profiles/gnac-profiles-manager.c
18 @@ -69,6 +69,7 @@ typedef struct {
19 } CopyData;
21 GtkBuilder *profiles_mgr_builder = NULL;
22 +gchar *saved_profiles_dir;
24 static GtkTargetEntry target_list[] = {
25 { "text/uri-list", 0, DND_TARGET_URI },
26 diff --git a/src/profiles/gnac-profiles-xml-engine.h b/src/profiles/gnac-profiles-xml-engine.h
27 index dcf3de5..865142c 100755
28 --- a/src/profiles/gnac-profiles-xml-engine.h
29 +++ b/src/profiles/gnac-profiles-xml-engine.h
30 @@ -35,7 +35,7 @@
32 G_BEGIN_DECLS
34 -gchar *saved_profiles_dir;
35 +extern gchar *saved_profiles_dir;
37 typedef struct