From 875c5766915fd99f8bdaa0cd468e59810624f2fc Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Thu, 28 May 2020 09:46:09 +0200 Subject: net-misc/eventd: Fix building with CFLAGS=-fno-common Package-Manager: Portage-2.3.100, Repoman-2.3.22 Closes: https://bugs.gentoo.org/707414 Signed-off-by: Jeroen Roovers --- net-misc/eventd/files/eventd-0.27.0-fno-common.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 net-misc/eventd/files/eventd-0.27.0-fno-common.patch (limited to 'net-misc/eventd/files/eventd-0.27.0-fno-common.patch') diff --git a/net-misc/eventd/files/eventd-0.27.0-fno-common.patch b/net-misc/eventd/files/eventd-0.27.0-fno-common.patch new file mode 100644 index 000000000000..5f731666738c --- /dev/null +++ b/net-misc/eventd/files/eventd-0.27.0-fno-common.patch @@ -0,0 +1,11 @@ +--- a/plugins/nd/src/backend.h ++++ b/plugins/nd/src/backend.h +@@ -37,7 +37,7 @@ + _EVENTD_ND_BACKENDS_SIZE + } EventdNdBackends; + +-const gchar *eventd_nd_backends_names[_EVENTD_ND_BACKENDS_SIZE]; ++extern const gchar *eventd_nd_backends_names[_EVENTD_ND_BACKENDS_SIZE]; + + typedef struct { + EventdNdContext *context; -- cgit v1.2.3-65-gdbad