Adjust arch patch to 0.9.15.

This commit is contained in:
Bojan Smojver 2020-12-29 11:01:14 +11:00
parent 7b2a202e3e
commit f2703fe221
3 changed files with 13 additions and 13 deletions

View File

@ -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

12
xrdp-0.9.15-arch.patch Normal file
View File

@ -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

View File

@ -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