From f2703fe2214ebda92b73f1259dad75cb1907601f Mon Sep 17 00:00:00 2001 From: Bojan Smojver Date: Tue, 29 Dec 2020 11:01:14 +1100 Subject: [PATCH] Adjust arch patch to 0.9.15. --- xrdp-0.9.14-arch.patch | 12 ------------ xrdp-0.9.15-arch.patch | 12 ++++++++++++ xrdp.spec | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) delete mode 100644 xrdp-0.9.14-arch.patch create mode 100644 xrdp-0.9.15-arch.patch diff --git a/xrdp-0.9.14-arch.patch b/xrdp-0.9.14-arch.patch deleted file mode 100644 index c5ea0ca..0000000 --- a/xrdp-0.9.14-arch.patch +++ /dev/null @@ -1,12 +0,0 @@ -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-0.9.15-arch.patch b/xrdp-0.9.15-arch.patch new file mode 100644 index 0000000..b2a10d4 --- /dev/null +++ b/xrdp-0.9.15-arch.patch @@ -0,0 +1,12 @@ +diff -ruN xrdp-0.9.15-v/common/arch.h xrdp-0.9.15/common/arch.h +--- xrdp-0.9.15-v/common/arch.h 2020-12-29 01:03:43.000000000 +1100 ++++ xrdp-0.9.15/common/arch.h 2020-12-29 10:58:38.146877212 +1100 +@@ -87,8 +87,6 @@ + defined(__i386__) || defined(__aarch64__) || \ + defined(__riscv) + #define NO_NEED_ALIGN +-#else +-#warning unknown arch + #endif + #endif + diff --git a/xrdp.spec b/xrdp.spec index 8affd2e..565a039 100644 --- a/xrdp.spec +++ b/xrdp.spec @@ -30,7 +30,7 @@ Patch2: xrdp-0.9.4-service.patch Patch3: xrdp-0.9.15-setpriv.patch Patch4: xrdp-0.9.10-scripts-libexec.patch Patch5: xrdp-0.9.6-script-interpreter.patch -Patch6: xrdp-0.9.14-arch.patch +Patch6: xrdp-0.9.15-arch.patch Patch7: xrdp-0.9.14-vnc-uninit.patch BuildRequires: gcc