commit 1d5cdc7d46ffee3475beec9572d049f18cd1c155 Author: Kevin Zheng Date: Sun Aug 23 10:42:15 2020 -0700 games/crossfire-client: Fix build with -fno-common diff --git a/games/crossfire-client/files/patch-gtk-v2_src_main.h b/games/crossfire-client/files/patch-gtk-v2_src_main.h new file mode 100644 index 000000000000..30fdb995db0d --- /dev/null +++ b/games/crossfire-client/files/patch-gtk-v2_src_main.h @@ -0,0 +1,11 @@ +--- gtk-v2/src/main.h.orig 2019-08-19 02:12:05 UTC ++++ gtk-v2/src/main.h +@@ -34,7 +34,7 @@ extern int map_image_size, map_image_half_size, image_ + #define DIALOG_FILENAME CF_DATADIR "/ui/dialogs.ui" + + /** Path to the current UI file. */ +-char window_xml_file[MAX_BUF]; ++extern char window_xml_file[MAX_BUF]; + + #define MAGIC_MAP_PAGE 1 /**< Notebook page of the magic map */ +