Adjust arch patch.

This commit is contained in:
Bojan Smojver 2021-05-01 09:39:52 +10:00
parent 949ed03f11
commit 59de660e0a
3 changed files with 13 additions and 13 deletions

View File

@ -1,12 +0,0 @@
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

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

@ -0,0 +1,12 @@
diff -ruN xrdp-0.9.16-v/common/arch.h xrdp-0.9.16/common/arch.h
--- xrdp-0.9.16-v/common/arch.h 2021-04-30 22:12:07.000000000 +1000
+++ xrdp-0.9.16/common/arch.h 2021-05-01 09:38:05.008987725 +1000
@@ -90,8 +90,6 @@
defined(__s390__) || defined (__s390x__) || \
defined(__riscv)
#define NO_NEED_ALIGN
-#else
-#warning unknown arch
#endif
#endif

View File

@ -29,7 +29,7 @@ Patch1: xrdp-0.9.16-xrdp-ini.patch
Patch2: xrdp-0.9.4-service.patch
Patch3: xrdp-0.9.10-scripts-libexec.patch
Patch4: xrdp-0.9.6-script-interpreter.patch
Patch5: xrdp-0.9.15-arch.patch
Patch5: xrdp-0.9.16-arch.patch
Patch6: xrdp-0.9.14-vnc-uninit.patch
%if 0%{?fedora} >= 32 || 0%{?rhel} >= 8
Patch7: xrdp-0.9.15-sesman-ini.patch