1From eabcc8a6e39dc3c28faee3e04aa56cc65a38d65a Mon Sep 17 00:00:00 2001
2From: Urja Rannikko <urjaman@gmail.com>
3Date: Sun, 19 Jul 2020 20:28:27 +0300
4Subject: [PATCH] Add extern to char* outfile declaration to fix build with gcc
5 10
6
7Without this linking fails with a rather long spew of
8"multiple definition of `outfile'".
9
10Signed-off-by: Urja Rannikko <urjaman@gmail.com>
11---
12 genisoimage/genisoimage.h | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/genisoimage/genisoimage.h b/genisoimage/genisoimage.h
16index bbedfb0..82c859b 100644
17--- a/genisoimage/genisoimage.h
18+++ b/genisoimage/genisoimage.h
19@@ -376,7 +376,7 @@ extern int	use_fileversion;
20 extern int	split_SL_component;
21 extern int	split_SL_field;
22 extern char	*trans_tbl;
23-char		*outfile;
24+extern char	*outfile;
25
26 #define	JMAX		64	/* maximum Joliet file name length (spec) */
27 #define	JLONGMAX	103	/* out of spec Joliet file name length */
28--
292.27.0
30
31