summaryrefslogtreecommitdiffstats
path: root/source/x/x11/post-install/xorg-cf-files.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/x11/post-install/xorg-cf-files.post-install')
-rw-r--r--source/x/x11/post-install/xorg-cf-files.post-install7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/x/x11/post-install/xorg-cf-files.post-install b/source/x/x11/post-install/xorg-cf-files.post-install
new file mode 100644
index 000000000..e5fc2cc45
--- /dev/null
+++ b/source/x/x11/post-install/xorg-cf-files.post-install
@@ -0,0 +1,7 @@
+if [ "$(uname -m)" = "x86_64" ]; then
+ ( cd $PKG/usr/lib/X11/config
+ zcat $CWD/post-install/xorg-cf-files/x11.tmpl.lib64.kludge.diff.gz | patch -p1 || exit 1
+ )
+fi
+# Remove the empty host.def:
+rm -f $PKG/usr/lib/X11/config/host.def