From mboxrd@z Thu Jan 1 00:00:00 1970 From: Urja Rannikko Date: Thu, 25 Jun 2020 03:58:36 +0300 Subject: [Buildroot] [PATCH] package/cdrkit: fix build with GCC 10 Message-ID: <20200625005836.2232591-1-urjaman@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net This patch adds a missing extern on the outfile variable in genisoimage.h. Signed-off-by: Urja Rannikko --- 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