[packages/libu2f-emu] - disable -Werror to allow build with openssl 3.0.x

qboosh qboosh at pld-linux.org
Thu Jun 23 18:55:09 CEST 2022


commit 5a1629056d0aed6a6c9584f10ca70eb3702a020d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Jun 23 18:56:36 2022 +0200

    - disable -Werror to allow build with openssl 3.0.x

 libu2f-emu.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/libu2f-emu.spec b/libu2f-emu.spec
index d44d97f..d44eec3 100644
--- a/libu2f-emu.spec
+++ b/libu2f-emu.spec
@@ -25,6 +25,7 @@ BuildRequires:	openssl-devel >= 1.1.0
 BuildRequires:	pkgconfig
 BuildRequires:	rpm-build >= 4.6
 BuildRequires:	rpmbuild(macros) >= 1.736
+BuildRequires:	sed >= 4.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -63,6 +64,9 @@ Dokumentacja API biblioteki u2f-emu.
 # allow build without -devel already installed
 ln -sf ../src/u2f-emu{,-types}.h tests
 
+# as of 2020 it uses APIs deprecated in openssl 3
+%{__sed} -i -e '/werror=true/d' meson.build
+
 %build
 %meson build
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libu2f-emu.git/commitdiff/5a1629056d0aed6a6c9584f10ca70eb3702a020d



More information about the pld-cvs-commit mailing list