Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/cdrkit: fix build with GCC 10
@ 2020-06-25  0:58 Urja Rannikko
  2020-07-13 18:49 ` Heiko Thiery
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Urja Rannikko @ 2020-06-25  0:58 UTC (permalink / raw)
  To: buildroot

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 --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 */
-- 
2.26.2

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-07-24 11:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-25  0:58 [Buildroot] [PATCH] package/cdrkit: fix build with GCC 10 Urja Rannikko
2020-07-13 18:49 ` Heiko Thiery
2020-07-13 21:34 ` Thomas Petazzoni
2020-07-19 17:42 ` [Buildroot] [PATCH v2] " Urja Rannikko
2020-07-19 19:42   ` Yann E. MORIN
2020-07-24 11:40   ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox