Add ppc64le and s390x arch, as needing alignment (hopefully true).

This commit is contained in:
Bojan Smojver 2020-08-31 20:51:45 +10:00
parent 717065fa31
commit 751c5c3ced
2 changed files with 14 additions and 0 deletions

13
xrdp-0.9.14-arch.patch Normal file
View File

@ -0,0 +1,13 @@
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 20:50:39.860660903 +1000
@@ -80,7 +80,8 @@
defined(__AIX__) || defined(__mips__) || \
defined(__ia64__) || defined(__arm__) || \
(defined(__PPC__) && defined(__BIG_ENDIAN__)) || \
- (defined(__ppc__) && defined(__BIG_ENDIAN__))
+ (defined(__ppc__) && defined(__BIG_ENDIAN__)) || \
+ defined(__ppc64le__ || defined(__s390x__)
#define NEED_ALIGN
#elif defined(__x86__) || defined(__x86_64__) || \
defined(__AMD64__) || defined(_M_IX86) || defined (_M_AMD64) || \

View File

@ -33,6 +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
Patch9: xrdp-0.9.14-arch.patch
BuildRequires: gcc
BuildRequires: libX11-devel