aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/geeqie/files/patch-options.c12
-rw-r--r--graphics/geeqie/files/patch-options.h13
2 files changed, 25 insertions, 0 deletions
diff --git a/graphics/geeqie/files/patch-options.c b/graphics/geeqie/files/patch-options.c
new file mode 100644
index 000000000000..71094c6a6166
--- /dev/null
+++ b/graphics/geeqie/files/patch-options.c
@@ -0,0 +1,12 @@
+--- src/options.c.orig 2019-08-20 19:01:23 UTC
++++ src/options.c
+@@ -32,6 +32,9 @@
+ #include "ui_fileops.h"
+ #include "window.h"
+
++ConfOptions *options;
++CommandLine *command_line;
++
+ ConfOptions *init_options(ConfOptions *options)
+ {
+ gint i;
diff --git a/graphics/geeqie/files/patch-options.h b/graphics/geeqie/files/patch-options.h
new file mode 100644
index 000000000000..ffec06f4e03b
--- /dev/null
+++ b/graphics/geeqie/files/patch-options.h
@@ -0,0 +1,13 @@
+--- src/options.h.orig 2019-08-20 19:01:23 UTC
++++ src/options.h
+@@ -321,8 +321,8 @@ struct _ConfOptions
+ GList *disabled_plugins;
+ };
+
+-ConfOptions *options;
+-CommandLine *command_line;
++extern ConfOptions *options;
++extern CommandLine *command_line;
+
+ ConfOptions *init_options(ConfOptions *options);
+ void setup_default_options(ConfOptions *options);