Add patch to disable CPP warning when arch is not detected.
This commit is contained in:
parent
9f02eae370
commit
7e774ca022
12
xrdp-0.9.14-arch.patch
Normal file
12
xrdp-0.9.14-arch.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -ruN xrdp-0.9.14-v/common/arch.h xrdp-0.9.14/common/arch.h
|
||||
--- xrdp-0.9.14-v/common/arch.h 2020-06-26 21:13:58.000000000 +1000
|
||||
+++ xrdp-0.9.14/common/arch.h 2020-08-31 22:03:28.387464109 +1000
|
||||
@@ -86,8 +86,6 @@
|
||||
defined(__AMD64__) || defined(_M_IX86) || defined (_M_AMD64) || \
|
||||
defined(__i386__) || defined(__aarch64__)
|
||||
#define NO_NEED_ALIGN
|
||||
-#else
|
||||
-#warning unknown arch
|
||||
#endif
|
||||
#endif
|
||||
|
11
xrdp.spec
11
xrdp.spec
@ -13,7 +13,7 @@ Summary: Open source remote desktop protocol (RDP) server
|
||||
Name: xrdp
|
||||
Epoch: 1
|
||||
Version: 0.9.14
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?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
|
||||
@ -33,10 +33,7 @@ Patch5: xrdp-0.9.6-script-interpreter.patch
|
||||
Patch6: xrdp-0.9.14-log-snprintf.patch
|
||||
Patch7: xrdp-0.9.14-xfree86-evdev.patch
|
||||
Patch8: xrdp-0.9.14-fuse-pointer.patch
|
||||
|
||||
%if 0%{?fedora} >= 34
|
||||
ExcludeArch: ppc64le s390x
|
||||
%endif
|
||||
Patch9: xrdp-0.9.14-arch.patch
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: libX11-devel
|
||||
@ -282,8 +279,10 @@ fi
|
||||
%{_datadir}/selinux/*/%{name}.pp
|
||||
|
||||
%changelog
|
||||
* Mon Aug 31 2020 Bojan Smojver <bojan@rexurive.com> - 1:0.9.14-1
|
||||
* Mon Aug 31 2020 Bojan Smojver <bojan@rexurive.com> - 1:0.9.14-2
|
||||
- Bump up to 0.9.14
|
||||
- Add a set of patches to deal with new GCC warnings/errors
|
||||
- Do not emit warning on failed architecture detection
|
||||
|
||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.9.13.1-3
|
||||
- Second attempt - Rebuilt for
|
||||
|
Loading…
Reference in New Issue
Block a user