diff mbox series

package/cdrkit: fix build with GCC 10

Message ID 20200625005836.2232591-1-urjaman@gmail.com
State New
Headers show
Series package/cdrkit: fix build with GCC 10 | expand

Commit Message

Urja Rannikko June 25, 2020, 12:58 a.m. UTC
This patch adds a missing extern on the outfile
variable in genisoimage.h.

Signed-off-by: Urja Rannikko <urjaman@gmail.com>
---
Note: I would like to see this applied to the LTS 2020.02
branch too, since it fixes building host-cdrkit for ISO9660
generation with a host GCC 10.

 .../cdrkit/0003-genisoimage-outfile-extern.patch    | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 package/cdrkit/0003-genisoimage-outfile-extern.patch
diff mbox series

Patch

diff --git a/package/cdrkit/0003-genisoimage-outfile-extern.patch b/package/cdrkit/0003-genisoimage-outfile-extern.patch
new file mode 100644
index 0000000000..5a9f0363c9
--- /dev/null
+++ b/package/cdrkit/0003-genisoimage-outfile-extern.patch
@@ -0,0 +1,13 @@ 
+diff --git a/genisoimage/genisoimage.h b/genisoimage/genisoimage.h
+index bbedfb0..82c859b 100644
+--- a/genisoimage/genisoimage.h
++++ b/genisoimage/genisoimage.h
+@@ -376,7 +376,7 @@ extern int	use_fileversion;
+ extern int	split_SL_component;
+ extern int	split_SL_field;
+ extern char	*trans_tbl;
+-char		*outfile;
++extern char	*outfile;
+ 
+ #define	JMAX		64	/* maximum Joliet file name length (spec) */
+ #define	JLONGMAX	103	/* out of spec Joliet file name length */