Fix build error if AVX2 enabled
Below build error found if AVX2 enabled: [ 17s] lib/alg-yescrypt-opt.c:517:33: error: conversion to 'long long unsigned int' from 'long long int' may change the sign of the result [-Werror=sign-conversion] [ 17s] 517 | uint32_t lo = x = EXTRACT64(X) & Smask2reg; \ Cherry pick upstream patches to fix this error. Signed-off-by: Chenxi Mao <chenxi.mao@suse.com>
This commit is contained in:
parent
84b46c9c65
commit
f206415294
@ -5,7 +5,7 @@
|
|||||||
%endif
|
%endif
|
||||||
Name: libxcrypt
|
Name: libxcrypt
|
||||||
Version: 4.4.26
|
Version: 4.4.26
|
||||||
Release: 4
|
Release: 5
|
||||||
Summary: Extended crypt library for DES, MD5, Blowfish and others
|
Summary: Extended crypt library for DES, MD5, Blowfish and others
|
||||||
License: LGPLv2+ and BSD and Public Domain
|
License: LGPLv2+ and BSD and Public Domain
|
||||||
URL: https://github.com/besser82/%{name}
|
URL: https://github.com/besser82/%{name}
|
||||||
@ -13,8 +13,8 @@ Source0: https://github.com/besser82/%{name}/archive/v%{version}.tar.gz
|
|||||||
|
|
||||||
Patch9000: add-sm3-crypt-support.patch
|
Patch9000: add-sm3-crypt-support.patch
|
||||||
Patch9001: libxcrypt-4.4.26-sw.patch
|
Patch9001: libxcrypt-4.4.26-sw.patch
|
||||||
Patch9002: 0001-Fix-warning-about-truncating-conversion.patch
|
Patch9002: upstream-Fix-warning-about-truncating-conversion.patch
|
||||||
Patch9003: 0001-Fix-warning-about-signed-unsigned-conversion.patch
|
Patch9003: upstream-Fix-warning-about-signed-unsigned-conversion.patch
|
||||||
|
|
||||||
BuildRequires: autoconf libtool fipscheck
|
BuildRequires: autoconf libtool fipscheck
|
||||||
BuildRequires: perl >= 5.14.0
|
BuildRequires: perl >= 5.14.0
|
||||||
@ -108,6 +108,9 @@ autoreconf -fiv
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 9 2023 Chenxi Mao<chenxi.mao@suse.com> - 4.4.26-5
|
||||||
|
- Cherry pick upstream patches to fix build errors if avx2 enabled.
|
||||||
|
|
||||||
* Fri Oct 21 2022 wuzx<wuzx1226@qq.com> - 4.4.26-4
|
* Fri Oct 21 2022 wuzx<wuzx1226@qq.com> - 4.4.26-4
|
||||||
- add sw64 patch
|
- add sw64 patch
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user