From 9354c0762ad36f2a4250f6ba432249bebd2587d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20E=C3=9Fer?= Date: Thu, 24 Sep 2020 09:49:46 +0000 Subject: [PATCH] Fix build with -fno-common --- graphics/geeqie/Makefile | 2 +- graphics/geeqie/files/patch-src_bar__exif.h | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 graphics/geeqie/files/patch-src_bar__exif.h diff --git a/graphics/geeqie/Makefile b/graphics/geeqie/Makefile index 3169816d5e20..062361bbc7e5 100644 --- a/graphics/geeqie/Makefile +++ b/graphics/geeqie/Makefile @@ -3,7 +3,7 @@ PORTNAME= geeqie PORTVERSION= 1.5.1 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= graphics MASTER_SITES= http://www.geeqie.org/ diff --git a/graphics/geeqie/files/patch-src_bar__exif.h b/graphics/geeqie/files/patch-src_bar__exif.h new file mode 100644 index 000000000000..934352cf9b04 --- /dev/null +++ b/graphics/geeqie/files/patch-src_bar__exif.h @@ -0,0 +1,13 @@ +--- src/bar_exif.h.orig 2019-08-20 19:01:23 UTC ++++ src/bar_exif.h +@@ -29,8 +29,8 @@ void bar_pane_exif_entry_add_from_config(GtkWidget *pa + + /* these are exposed for when duplication of the exif bar's text is needed */ + +-const gchar **bar_exif_key_list; +-const gint bar_exif_key_count; ++extern const gchar **bar_exif_key_list; ++extern const gint bar_exif_key_count; + GList *bar_pane_exif_list(); + + #endif