commit
53fbff680e
47
audiofile-fix-test-compile-err.patch
Normal file
47
audiofile-fix-test-compile-err.patch
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
From ea3b8e88065b9698357b3636363b78c2bb74e240 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Shouping Wang<wangshouping@huawei.com>
|
||||||
|
Date: Sat, 21 Mar 2020 18:54:32 +0800
|
||||||
|
Subject: [PATCH] audiofile-fix-test-compile-err
|
||||||
|
|
||||||
|
Signed-off-by: Shouping Wang<wangshouping@huawei.com>
|
||||||
|
---
|
||||||
|
test/NeXT.cpp | 8 ++++----
|
||||||
|
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/test/NeXT.cpp b/test/NeXT.cpp
|
||||||
|
index 7e39850..b8829a9 100644
|
||||||
|
--- a/test/NeXT.cpp
|
||||||
|
+++ b/test/NeXT.cpp
|
||||||
|
@@ -41,9 +41,9 @@ const char kDataUnspecifiedLength[] =
|
||||||
|
{
|
||||||
|
'.', 's', 'n', 'd',
|
||||||
|
0, 0, 0, 24, // offset of 24 bytes
|
||||||
|
- 0xff, 0xff, 0xff, 0xff, // unspecified length
|
||||||
|
+ (char)0xff, (char)0xff, (char)0xff, (char)0xff, // unspecified length
|
||||||
|
0, 0, 0, 3, // 16-bit linear
|
||||||
|
- 0, 0, 172, 68, // 44100 Hz
|
||||||
|
+ 0, 0, (char)172, 68, // 44100 Hz
|
||||||
|
0, 0, 0, 1, // 1 channel
|
||||||
|
0, 1,
|
||||||
|
0, 1,
|
||||||
|
@@ -63,7 +63,7 @@ const char kDataTruncated[] =
|
||||||
|
0, 0, 0, 24, // offset of 24 bytes
|
||||||
|
0, 0, 0, 20, // length of 20 bytes
|
||||||
|
0, 0, 0, 3, // 16-bit linear
|
||||||
|
- 0, 0, 172, 68, // 44100 Hz
|
||||||
|
+ 0, 0, (char)172, 68, // 44100 Hz
|
||||||
|
0, 0, 0, 1, // 1 channel
|
||||||
|
0, 1,
|
||||||
|
0, 1,
|
||||||
|
@@ -158,7 +158,7 @@ const char kDataZeroChannels[] =
|
||||||
|
0, 0, 0, 24, // offset of 24 bytes
|
||||||
|
0, 0, 0, 2, // 2 bytes
|
||||||
|
0, 0, 0, 3, // 16-bit linear
|
||||||
|
- 0, 0, 172, 68, // 44100 Hz
|
||||||
|
+ 0, 0, (char)172, 68, // 44100 Hz
|
||||||
|
0, 0, 0, 0, // 0 channels
|
||||||
|
0, 1
|
||||||
|
};
|
||||||
|
--
|
||||||
|
1.8.3.1
|
||||||
|
|
||||||
@ -1,14 +1,15 @@
|
|||||||
Name: audiofile
|
Name: audiofile
|
||||||
Version: 0.3.6
|
Version: 0.3.6
|
||||||
Release: 23
|
Release: 24
|
||||||
Summary: Library for reading and writing audio files in many common formats
|
Summary: Library for reading and writing audio files in many common formats
|
||||||
License: LGPLv2+ and GPLv2+
|
License: LGPLv2+ and GPLv2+
|
||||||
URL: http://audiofile.68k.org/
|
URL: http://audiofile.68k.org/
|
||||||
Source0: http://audiofile.68k.org/%{name}-%{version}.tar.gz
|
Source0: http://audiofile.68k.org/%{name}-%{version}.tar.gz
|
||||||
Patch0: audiofile-CVE-2015-7747.patch
|
Patch0: audiofile-CVE-2015-7747.patch
|
||||||
Patch1: audiofile-fix-gcc6-compile-error.patch
|
Patch1: audiofile-fix-gcc6-compile-error.patch
|
||||||
|
Patch2: audiofile-fix-test-compile-err.patch
|
||||||
|
|
||||||
BuildRequires: gcc-c++ libtool alsa-lib-devel flac-devel
|
BuildRequires: gcc-c++ libtool alsa-lib-devel flac-devel gdb
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Audio File Library is a C-based library for reading and writing audio files in many
|
The Audio File Library is a C-based library for reading and writing audio files in many
|
||||||
@ -74,6 +75,12 @@ make check
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Mar 21 2020 Shouping Wang<wangshouping@huawei.com> - 0.3.6-24
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:fix test compile err
|
||||||
|
|
||||||
* Thu Jan 9 2020 JeanLeo<liujianliu.liu@huawei.com> - 0.3.6-23
|
* Thu Jan 9 2020 JeanLeo<liujianliu.liu@huawei.com> - 0.3.6-23
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user