diff options
author | Giancarlo Dessì <gian@giand.it> | 2020-12-16 18:48:15 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:15:54 -0500 |
commit | 9a4b7e8ac36170674edf84dc3633dc3b884aa017 (patch) | |
tree | 0b390101f9c3e81126d13f80ec876883357f4faf | |
parent | 3dc16898b8286d07aa5a3244d68bb0a17ebb69a0 (diff) | |
download | slackbuilds-9a4b7e8ac36170674edf84dc3633dc3b884aa017.tar.gz |
system/cdrkit: Patch for gcc >= 10.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r-- | system/cdrkit/cdrkit-1.1.11-gcc10.patch | 12 | ||||
-rw-r--r-- | system/cdrkit/cdrkit.SlackBuild | 2 |
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 |