Add sw64 architecture
Signed-off-by: wzx <wuzx1226@qq.com> (cherry picked from commit df0a35552624287450a91065aa678cf807343245)
This commit is contained in:
parent
485ff9bf2d
commit
bd280bfb10
12
flac-1.3.3-sw.patch
Executable file
12
flac-1.3.3-sw.patch
Executable file
@ -0,0 +1,12 @@
|
||||
diff -Nuar flac-1.3.3.org/m4/endian.m4 flac-1.3.3.sw/m4/endian.m4
|
||||
--- flac-1.3.3.org/m4/endian.m4 2022-03-03 02:53:08.140000000 +0000
|
||||
+++ flac-1.3.3.sw/m4/endian.m4 2022-03-03 02:54:44.740000000 +0000
|
||||
@@ -115,7 +115,7 @@
|
||||
# by looking at the target CPU type.
|
||||
[
|
||||
case "$target_cpu" in
|
||||
- alpha* | i?86* | mipsel* | ia64*)
|
||||
+ sw_64* | alpha* | i?86* | mipsel* | ia64*)
|
||||
ac_cv_c_byte_order=little
|
||||
;;
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
Name: flac
|
||||
Version: 1.3.3
|
||||
Release: 6
|
||||
Release: 7
|
||||
Summary: encoder/decoder which support the Free Lossless Audio Codec
|
||||
License: BSD and GPLv2+ and GFDL
|
||||
Source0: http://downloads.xiph.org/releases/flac/flac-%{version}.tar.xz
|
||||
@ -10,6 +10,9 @@ URL: http://www.xiph.org/flac/
|
||||
|
||||
Patch0000: CVE-2021-0561.patch
|
||||
Patch0001: CVE-2020-0499.patch
|
||||
%ifarch sw_64
|
||||
Patch0002: flac-1.3.3-sw.patch
|
||||
%endif
|
||||
|
||||
Provides: %{name}-libs
|
||||
Obsoletes: %{name}-libs
|
||||
@ -101,6 +104,9 @@ update-desktop-database &> /dev/null || :
|
||||
%doc flac-doc-devel/*
|
||||
|
||||
%changelog
|
||||
* Wed Oct 19 2022 wuzx<wuzx1226@qq.com> - 1.3.3-7
|
||||
- add sw64 patch
|
||||
|
||||
* Sat May 28 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 1.3.3-6
|
||||
- fix CVE-2020-0499
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user