aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2020-08-25 21:28:39 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2020-08-25 21:28:39 +0000
commit8099ba5dbf07bda01b09e3cebdcabbc0b0ba916b (patch)
tree69ef4fd2b9d2fe2047222978da2473d7586a35e0 /graphics
parent9cde8222f2d79b3e7ae8d3b81076d2751bd5f9e4 (diff)
downloadports-8099ba5dbf07bda01b09e3cebdcabbc0b0ba916b.tar.gz
ports-8099ba5dbf07bda01b09e3cebdcabbc0b0ba916b.zip
Notes
Diffstat (limited to 'graphics')
-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);