diff --git a/xrdp-0.9.14-arch.patch b/xrdp-0.9.14-arch.patch new file mode 100644 index 0000000..c5ea0ca --- /dev/null +++ b/xrdp-0.9.14-arch.patch @@ -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 + diff --git a/xrdp.spec b/xrdp.spec index 5a29349..4f2cd6e 100644 --- a/xrdp.spec +++ b/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 - 1:0.9.14-1 +* Mon Aug 31 2020 Bojan Smojver - 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 - 1:0.9.13.1-3 - Second attempt - Rebuilt for