FTBFS when 255 assigned to a char fixed (narrowing), added cdrdao-1.2.3-narrowing.patch
This commit is contained in:
parent
05a90eee67
commit
2014688476
24
cdrdao-1.2.3-narrowing.patch
Normal file
24
cdrdao-1.2.3-narrowing.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
diff -up wrk/dao/CdrDriver.cc.wrk wrk/dao/CdrDriver.cc
|
||||||
|
--- wrk/dao/CdrDriver.cc.wrk 2016-02-16 14:06:23.158392345 +0100
|
||||||
|
+++ wrk/dao/CdrDriver.cc 2016-02-16 14:07:11.654597254 +0100
|
||||||
|
@@ -495,7 +495,7 @@ unsigned char CdrDriver::syncPattern[12]
|
||||||
|
0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0
|
||||||
|
};
|
||||||
|
|
||||||
|
-char CdrDriver::REMOTE_MSG_SYNC_[4] = { 0xff, 0x00, 0xff, 0x00 };
|
||||||
|
+unsigned char CdrDriver::REMOTE_MSG_SYNC_[4] = { 0xff, 0x00, 0xff, 0x00 };
|
||||||
|
|
||||||
|
|
||||||
|
/* Maps a string to the corresponding driver option value
|
||||||
|
diff -up wrk/dao/CdrDriver.h.wrk wrk/dao/CdrDriver.h
|
||||||
|
--- wrk/dao/CdrDriver.h.wrk 2016-02-16 14:21:18.454174199 +0100
|
||||||
|
+++ wrk/dao/CdrDriver.h 2016-02-16 14:21:42.381275268 +0100
|
||||||
|
@@ -440,7 +440,7 @@ protected:
|
||||||
|
bool fullBurn_;
|
||||||
|
|
||||||
|
static unsigned char syncPattern[12];
|
||||||
|
- static char REMOTE_MSG_SYNC_[4];
|
||||||
|
+ static unsigned char REMOTE_MSG_SYNC_[4];
|
||||||
|
|
||||||
|
static int speed2Mult(int);
|
||||||
|
static int mult2Speed(int);
|
@ -1,7 +1,7 @@
|
|||||||
Summary: Writes audio CD-Rs in disk-at-once (DAO) mode
|
Summary: Writes audio CD-Rs in disk-at-once (DAO) mode
|
||||||
Name: cdrdao
|
Name: cdrdao
|
||||||
Version: 1.2.3
|
Version: 1.2.3
|
||||||
Release: 26%{?dist}
|
Release: 27%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
URL: http://cdrdao.sourceforge.net/
|
URL: http://cdrdao.sourceforge.net/
|
||||||
@ -23,6 +23,7 @@ ExcludeArch: s390 s390x
|
|||||||
Patch1: cdrdao-1.2.3-stat.patch
|
Patch1: cdrdao-1.2.3-stat.patch
|
||||||
Patch2: cdrdao-1.2.3-helpmansync.patch
|
Patch2: cdrdao-1.2.3-helpmansync.patch
|
||||||
Patch3: cdrdao-1.2.3-format_security.patch
|
Patch3: cdrdao-1.2.3-format_security.patch
|
||||||
|
Patch4: cdrdao-1.2.3-narrowing.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Cdrdao records audio CD-Rs in disk-at-once (DAO) mode, based on a
|
Cdrdao records audio CD-Rs in disk-at-once (DAO) mode, based on a
|
||||||
@ -37,6 +38,7 @@ of pre-gaps, the pause areas between tracks.
|
|||||||
%patch1 -p1 -b .stat
|
%patch1 -p1 -b .stat
|
||||||
%patch2 -p1 -b .helpmansync
|
%patch2 -p1 -b .helpmansync
|
||||||
%patch3 -p1 -b .format_security
|
%patch3 -p1 -b .format_security
|
||||||
|
%patch4 -p1 -b .narrowing
|
||||||
|
|
||||||
%build
|
%build
|
||||||
#run autoreconf to support aarch64
|
#run autoreconf to support aarch64
|
||||||
@ -68,6 +70,9 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 16 2016 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.2.3-27
|
||||||
|
- FTBFS when 255 assigned to a char fixed (narrowing), added cdrdao-1.2.3-narrowing.patch
|
||||||
|
|
||||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-26
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-26
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user