!3 fix build fail on gcc -10
From: @liuyumeng1 Reviewed-by: @zzm_567,@yanan-rock,@yanan-rock,@yanan-rock Signed-off-by: @yanan-rock,@yanan-rock,@yanan-rock
This commit is contained in:
commit
3c97634776
13
cdrkit-1.1.11-gcc10.patch
Normal file
13
cdrkit-1.1.11-gcc10.patch
Normal file
@ -0,0 +1,13 @@
|
||||
reference:src.fedoraproject.org/rpms/cdrkit/blob/rawhide/f/cdrkit-1.1.11-gcc10.patch
|
||||
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 */
|
||||
@ -1,6 +1,6 @@
|
||||
Name: cdrkit
|
||||
Version: 1.1.11
|
||||
Release: 43
|
||||
Release: 44
|
||||
Summary: A collection of CD/DVD utilities
|
||||
License: GPLv2
|
||||
URL: http://cdrkit.org/
|
||||
@ -29,6 +29,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 cmake libcap-devel zlib-devel perl-interpreter
|
||||
BuildRequires: perl-generators file-devel bzip2-devel git
|
||||
@ -217,5 +218,8 @@ fi
|
||||
%{_mandir}/*
|
||||
|
||||
%changelog
|
||||
* Fri Jul 30 2021 liuyumeng <liuyumeng5@huawei.com> - 1.1.11-44
|
||||
- fix build fail on gcc-10
|
||||
|
||||
* Fri Sep 20 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.11-43
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user