[packages/cdrkit] debian patch to fix build with gcc 10

atler atler at pld-linux.org
Fri May 21 12:06:54 CEST 2021


commit 4724a7aedb7061407348508db960be862c91bcdc
Author: Jan Palus <atler at pld-linux.org>
Date:   Fri May 21 12:06:11 2021 +0200

    debian patch to fix build with gcc 10

 cdrkit.spec |  2 ++
 gcc10.patch | 12 ++++++++++++
 2 files changed, 14 insertions(+)
---
diff --git a/cdrkit.spec b/cdrkit.spec
index 3a3f971..75f4fcb 100644
--- a/cdrkit.spec
+++ b/cdrkit.spec
@@ -29,6 +29,7 @@ Patch14:	%{name}-1.1.11-cmakewarn.patch
 Patch15:	%{name}-1.1.11-memset.patch
 Patch16:	%{name}-1.1.11-paranoiacdio.patch
 Patch17:	%{name}-build.patch
+Patch18:	gcc10.patch
 URL:		http://cdrkit.org/
 BuildRequires:	bzip2-devel
 BuildRequires:	cdparanoia-III-devel
@@ -259,6 +260,7 @@ fazer CD-ROMs de boot "El Torito".
 %patch15 -p1
 %patch16 -p1
 %patch17 -p1
+%patch18 -p1
 
 %build
 %{__make} \
diff --git a/gcc10.patch b/gcc10.patch
new file mode 100644
index 0000000..99f0c10
--- /dev/null
+++ b/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 */
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cdrkit.git/commitdiff/4724a7aedb7061407348508db960be862c91bcdc



More information about the pld-cvs-commit mailing list