mirror of
https://abf.rosa.ru/djam/mesa.git
synced 2025-02-24 07:02:54 +00:00
Use libnettle rather than libcrypto/openssl for SHA1
Reason: https://github.com/ValveSoftware/steam-for-linux/issues/4504
This commit is contained in:
parent
67c080b40c
commit
50b1f7e20c
1 changed files with 6 additions and 4 deletions
10
mesa.spec
10
mesa.spec
|
@ -31,7 +31,7 @@
|
|||
Summary: OpenGL-compatible 3D graphics library
|
||||
Name: mesa
|
||||
Version: 13.0.2
|
||||
Release: 3
|
||||
Release: 4
|
||||
License: MIT
|
||||
Group: System/Libraries
|
||||
Url: http://www.mesa3d.org
|
||||
|
@ -86,8 +86,10 @@ BuildRequires: libselinux-devel
|
|||
%endif
|
||||
%if %{with vulkan}
|
||||
BuildRequires: vulkan-devel
|
||||
# for SHA1 implementation from libcrypto:
|
||||
BuildRequires: pkgconfig(openssl)
|
||||
# for SHA1 implementation from libnettle:
|
||||
BuildRequires: pkgconfig(nettle)
|
||||
# [NB] Why not libcrypto & openssl? That is why:
|
||||
# https://github.com/ValveSoftware/steam-for-linux/issues/4504
|
||||
%endif
|
||||
|
||||
# [NB] Do not mark it noarch, otherwise rpm will be confused on where
|
||||
|
@ -686,7 +688,7 @@ autoreconf -vfi
|
|||
--enable-texture-float=yes \
|
||||
%if %{with vulkan}
|
||||
%{vulkan_drivers} \
|
||||
--with-sha1=libcrypto \
|
||||
--with-sha1=libnettle \
|
||||
%endif
|
||||
--enable-xvmc
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue