Add -Wno-error=deprecated-declarations to CFLAGS to avoid build errors.
This commit is contained in:
parent
a47b67b6e7
commit
2cb0e78b53
@ -13,7 +13,7 @@ Summary: Open source remote desktop protocol (RDP) server
|
||||
Name: xrdp
|
||||
Epoch: 1
|
||||
Version: 0.9.17
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: ASL 2.0 and GPLv2+ and MIT
|
||||
URL: http://www.xrdp.org/
|
||||
Source0: https://github.com/neutrinolabs/xrdp/releases/download/v%{version}/xrdp-%{version}.tar.gz
|
||||
@ -105,6 +105,7 @@ echo '#!/bin/bash -l
|
||||
. %{_libexecdir}/xrdp/startwm.sh' > sesman/startwm-bash.sh
|
||||
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS -Wno-error=deprecated-declarations" \
|
||||
%configure --enable-fuse --enable-pixman --enable-painter --enable-vsock \
|
||||
--with-socketdir=%{_rundir}/%{name}
|
||||
%make_build
|
||||
@ -281,6 +282,9 @@ fi
|
||||
%{_datadir}/selinux/*/%{name}.pp
|
||||
|
||||
%changelog
|
||||
* Thu Nov 11 2021 Bojan Smojver <bojan@rexurive.com> - 1:0.9.17-4
|
||||
- Add -Wno-error=deprecated-declarations to CFLAGS to avoid build errors
|
||||
|
||||
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 1:0.9.17-3
|
||||
- Rebuilt with OpenSSL 3.0.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user