From 28936386b00c408503226be12e8a2b93d9aa5c1f Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Mon, 24 Feb 2020 15:14:25 +0100 Subject: [PATCH] Fixed FTBFS --- cdrkit-1.1.11-gcc10.patch | 12 ++++++++++++ cdrkit.spec | 7 ++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 cdrkit-1.1.11-gcc10.patch diff --git a/cdrkit-1.1.11-gcc10.patch b/cdrkit-1.1.11-gcc10.patch new file mode 100644 index 0000000..99f0c10 --- /dev/null +++ b/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/cdrkit.spec b/cdrkit.spec index b6a797b..47dd0f1 100644 --- a/cdrkit.spec +++ b/cdrkit.spec @@ -1,6 +1,6 @@ Name: cdrkit Version: 1.1.11 -Release: 43%{?dist} +Release: 44%{?dist} Summary: A collection of CD/DVD utilities License: GPLv2 URL: http://cdrkit.org/ @@ -26,6 +26,7 @@ Patch19: cdrkit-1.1.11-ppc64le_elfheader.patch Patch20: cdrkit-1.1.11-werror_gcc5.patch Patch21: cdrkit-1.1.11-devname.patch Patch22: cdrkit-1.1.11-sysmacros.patch +Patch23: cdrkit-1.1.11-gcc10.patch BuildRequires: gcc BuildRequires: cmake libcap-devel zlib-devel perl-interpreter perl-generators file-devel bzip2-devel @@ -125,6 +126,7 @@ SCSI devices. %patch20 -p1 -b .werror_gcc5 %patch21 -p1 -b .devname %patch22 -p1 -b .sysmacros +%patch23 -p1 -b .gcc10 # we do not want bundled paranoia library rm -rf libparanoia @@ -292,6 +294,9 @@ fi %{_includedir}/usal %changelog +* Mon Feb 24 2020 Than Ngo - 1.1.11-44 +- Fixed FTBFS + * Tue Jan 28 2020 Fedora Release Engineering - 1.1.11-43 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild