summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/cdrkit/cdrkit-1.1.11-gcc10.patch12
-rw-r--r--system/cdrkit/cdrkit.SlackBuild2
2 files changed, 14 insertions, 0 deletions
diff --git a/system/cdrkit/cdrkit-1.1.11-gcc10.patch b/system/cdrkit/cdrkit-1.1.11-gcc10.patch
new file mode 100644
index 0000000000..99f0c106d5
--- /dev/null
+++ b/system/cdrkit/cdrkit-1.1.11-gcc10.patch
@@ -0,0 +1,12 @@
+diff -up cdrkit-1.1.11/genisoimage/genisoimage.h.me cdrkit-1.1.11/genisoimage/genisoimage.h
+--- cdrkit-1.1.11/genisoimage/genisoimage.h.me 2020-02-24 15:10:35.542998992 +0100
++++ cdrkit-1.1.11/genisoimage/genisoimage.h 2020-02-24 15:10:50.011130450 +0100
+@@ -377,7 +377,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 */
diff --git a/system/cdrkit/cdrkit.SlackBuild b/system/cdrkit/cdrkit.SlackBuild
index f778f25ff2..a5c211b649 100644
--- a/system/cdrkit/cdrkit.SlackBuild
+++ b/system/cdrkit/cdrkit.SlackBuild
@@ -67,6 +67,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+patch -p1 < $CWD/cdrkit-1.1.11-gcc10.patch
+
# Make Makefile prefix
cmake -DCMAKE_INSTALL_PREFIX=/usr