From 751c5c3ced83c02f6cea7b4063a0df2b00578237 Mon Sep 17 00:00:00 2001 From: Bojan Smojver Date: Aug 31 2020 10:51:45 +0000 Subject: Add ppc64le and s390x arch, as needing alignment (hopefully true). --- diff --git a/xrdp-0.9.14-arch.patch b/xrdp-0.9.14-arch.patch new file mode 100644 index 0000000..af229b3 --- /dev/null +++ b/xrdp-0.9.14-arch.patch @@ -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) || \ diff --git a/xrdp.spec b/xrdp.spec index 5462579..37b7589 100644 --- a/xrdp.spec +++ b/xrdp.spec @@ -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