- fix FTBFS on rawhide
This commit is contained in:
parent
e1f8ac3a5e
commit
53d69a60af
24
cdrdao-1.2.3-lame-3.100.patch
Normal file
24
cdrdao-1.2.3-lame-3.100.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
--- a/utils/toc2mp3.cc
|
||||||
|
+++ b/utils/toc2mp3.cc
|
||||||
|
@@ -143,8 +143,8 @@
|
||||||
|
|
||||||
|
message(0, "LAME encoder version: %s", get_lame_version());
|
||||||
|
message(0, "Supported bit rates: ");
|
||||||
|
- for (int i = 0; i < 16 && bitrate_table[1][i] >= 0; i++) {
|
||||||
|
- message(0, "%d ", bitrate_table[1][i]);
|
||||||
|
+ for (int i = 0; i < 16 && lame_get_bitrate(1, i) >= 0; i++) {
|
||||||
|
+ message(0, "%d ", lame_get_bitrate(1, i));
|
||||||
|
}
|
||||||
|
message(0, "");
|
||||||
|
}
|
||||||
|
@@ -238,8 +238,8 @@
|
||||||
|
lame_global_flags *lf;
|
||||||
|
int bitrateOk = 0;
|
||||||
|
|
||||||
|
- for (int i = 0; bitrate_table[1][i] >= 0 && !bitrateOk; i++) {
|
||||||
|
- if (bitrate == bitrate_table[1][i])
|
||||||
|
+ for (int i = 0; lame_get_bitrate(1, i) >= 0 && !bitrateOk; i++) {
|
||||||
|
+ if (bitrate == lame_get_bitrate(1, i))
|
||||||
|
bitrateOk = 1;
|
||||||
|
}
|
||||||
|
|
@ -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: 32%{?dist}
|
Release: 33%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
URL: http://cdrdao.sourceforge.net/
|
URL: http://cdrdao.sourceforge.net/
|
||||||
@ -26,6 +26,7 @@ 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
|
Patch4: cdrdao-1.2.3-narrowing.patch
|
||||||
|
Patch5: cdrdao-1.2.3-lame-3.100.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
|
||||||
@ -41,6 +42,7 @@ of pre-gaps, the pause areas between tracks.
|
|||||||
%patch2 -p1 -b .helpmansync
|
%patch2 -p1 -b .helpmansync
|
||||||
%patch3 -p1 -b .format_security
|
%patch3 -p1 -b .format_security
|
||||||
%patch4 -p1 -b .narrowing
|
%patch4 -p1 -b .narrowing
|
||||||
|
%patch5 -p1 -b .lame-3.100.patch
|
||||||
|
|
||||||
%build
|
%build
|
||||||
#run autoreconf to support aarch64
|
#run autoreconf to support aarch64
|
||||||
@ -74,6 +76,9 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Apr 25 2018 Filipe Rosset <rosset.filipe@gmail.com> - 1.2.3-33
|
||||||
|
- fix FTBFS on rawhide
|
||||||
|
|
||||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-32
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-32
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user