summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Giancarlo Dessì2020-12-16 18:48:15 +0100
committer Matteo Bernardini2021-03-06 09:24:21 +0100
commit0a323812a310d5ec13fe0580fb137a6f723d8017 (patch)
tree00d026cf09a91843aac170b0810fffc225f2c448
parent3c59cb22425adf5d8a0d1a79baf00e6d9334c620 (diff)
downloadslackbuilds-cdrkit.tar.gz
system/cdrkit: Patch for gcc >= 10.x.cdrkit
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-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