cf2264a7 | 2019-03-03 12:24:41 | Timothy Pearson |
Update sources to build on ppc64el |
||
A xorg/X11R7.6/libdrm-2.4.26.patch M xorg/X11R7.6/buildx.sh |
||
xorg/X11R7.6/buildx.shdiff --git a/xorg/X11R7.6/buildx.sh b/xorg/X11R7.6/buildx.sh index 4db5b8f..4d72a97 100755 --- a/xorg/X11R7.6/buildx.sh +++ b/xorg/X11R7.6/buildx.sh @@ -206,6 +206,20 @@ # 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 xorg/X11R7.6/libdrm-2.4.26.patchdiff --git a/xorg/X11R7.6/libdrm-2.4.26.patch b/xorg/X11R7.6/libdrm-2.4.26.patch new file mode 100644 index 0000000..bf78e6f --- /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" + |