From 9d601a14683835b5fe81753728dfadcdcfbfc869 Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Mon, 24 Feb 2020 16:34:57 +0100 Subject: [PATCH] Fixed FTBFS --- 0023-support-gcc-fno-common-option.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/0023-support-gcc-fno-common-option.patch b/0023-support-gcc-fno-common-option.patch index 185a2e7..20b9848 100644 --- a/0023-support-gcc-fno-common-option.patch +++ b/0023-support-gcc-fno-common-option.patch @@ -98,3 +98,14 @@ index 486a08e..c548791 100644 extern int log_init(char *program_name, int size, void (*func)(int prio, void *priv, const char *fmt, va_list ap), +diff -up open-iscsi-4440e57a59c7f1c23bbfdcb10844017f478918b6/usr/iscsi_ipc.h.me open-iscsi-4440e57a59c7f1c23bbfdcb10844017f478918b6/usr/iscsi_ipc.h +--- open-iscsi-4440e57a59c7f1c23bbfdcb10844017f478918b6/usr/iscsi_ipc.h.me 2020-02-24 16:26:12.571078646 +0100 ++++ open-iscsi-4440e57a59c7f1c23bbfdcb10844017f478918b6/usr/iscsi_ipc.h 2020-02-24 16:29:18.619824160 +0100 +@@ -162,6 +162,6 @@ struct iscsi_ipc { + char *host_stats); + }; + +-struct iscsi_ipc *ipc; ++extern struct iscsi_ipc *ipc; + + #endif /* ISCSI_IPC_H */