summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <tpearson@raptorengineering.com>2019-03-03 06:24:41 -0600
committerTimothy Pearson <tpearson@raptorengineering.com>2019-03-17 00:34:03 -0500
commitb46473e27ce969a5aa38cf27bfdc56dabe6b0d9b (patch)
tree7a0739d3f4b3cd9015eaf276405edaf1b116e865
parent8fca4e413bd14d2ef7c0d8e3fc5663ef6f8a4a3c (diff)
downloadxrdp-proprietary-b46473e27ce969a5aa38cf27bfdc56dabe6b0d9b.tar.gz
xrdp-proprietary-b46473e27ce969a5aa38cf27bfdc56dabe6b0d9b.zip
Update sources to build on ppc64el
-rwxr-xr-xxorg/X11R7.6/buildx.sh14
-rw-r--r--xorg/X11R7.6/libdrm-2.4.26.patch11
2 files changed, 25 insertions, 0 deletions
diff --git a/xorg/X11R7.6/buildx.sh b/xorg/X11R7.6/buildx.sh
index 22dfe15f..df8c1131 100755
--- a/xorg/X11R7.6/buildx.sh
+++ b/xorg/X11R7.6/buildx.sh
@@ -103,6 +103,20 @@ extract_it()
# patch and configure module - we only need to do this once
cd $mod_name
+ # replace config.guess
+ if [ -e build/config.guess ]; then
+ cp -Rp /usr/share/misc/config.guess build/
+ elif [ -e build-aux/config.guess ]; then
+ cp -Rp /usr/share/misc/config.guess build-aux/
+ elif [ -e bin/config.guess ]; then
+ cp -Rp /usr/share/misc/config.guess bin/
+ elif [ -e conftools/config.guess ]; then
+ cp -Rp /usr/share/misc/config.guess conftools/
+ elif [ -e builds/unix/config.guess ]; then
+ cp -Rp /usr/share/misc/config.guess builds/unix/
+ else
+ cp -Rp /usr/share/misc/config.guess .
+ fi
# check for patches
if [ -e ../../$mod_name.patch ]; then
patch -p1 < ../../$mod_name.patch
diff --git a/xorg/X11R7.6/libdrm-2.4.26.patch b/xorg/X11R7.6/libdrm-2.4.26.patch
new file mode 100644
index 00000000..bf78e6fc
--- /dev/null
+++ b/xorg/X11R7.6/libdrm-2.4.26.patch
@@ -0,0 +1,11 @@
+diff -ur a/libkms/linux.c b/libkms/linux.c
+--- a/libkms/linux.c
++++ b/libkms/linux.c
+@@ -39,6 +39,7 @@
+ #include <unistd.h>
+
+ #include <sys/stat.h>
++#include <sys/sysmacros.h>
+
+ #include "internal.h"
+