Commit c15e90ab authored by Yuri Aksenov's avatar Yuri Aksenov

We should use extern variable due gcc10 update

parent de44159e
PACKAGENAME = 'cdrkit-1.1.11'
all:
tar xf cdrkit-1.1.11.tar.gz
$(MAKE) -C cdrkit-1.1.11
$(MAKE) -C cdrkit-1.1.11 install PREFIX=/usr
rm -rf cdrkit-1.1.11
\ No newline at end of file
tar xf $(PACKAGENAME).tar.gz
patch -Np1 -d $(PACKAGENAME) < $(PACKAGENAME)-gcc10.patch
$(MAKE) -C $(PACKAGENAME)
$(MAKE) -C $(PACKAGENAME) install PREFIX=/usr
rm -rf $(PACKAGENAME)
diff -Naur cdrkit-1.1.11/genisoimage/genisoimage.h cdrkit-1.1.11.patched/genisoimage/genisoimage.h
--- cdrkit-1.1.11/genisoimage/genisoimage.h 2008-05-26 06:00:55.000000000 +0900
+++ cdrkit-1.1.11.patched/genisoimage/genisoimage.h 2021-09-08 09:46:54.865911289 +0800
@@ -376,7 +376,7 @@
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 */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment