freebsd-ports/graphics/geeqie/files/patch-options.h
Dmitry Marakasov 8099ba5dbf Fix duplicate symbols
This should fix the build on latest CURRENT and is mostly equal to upstream commit 3ea5fa3

Reported by:	soralx at cydem dot org
2020-08-25 21:28:39 +00:00

13 lines
357 B
C

--- 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);