summaryrefslogtreecommitdiffstats
path: root/acompiler/nvidia-96xx/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'acompiler/nvidia-96xx/Pkgfile')
-rw-r--r--acompiler/nvidia-96xx/Pkgfile13
1 files changed, 12 insertions, 1 deletions
diff --git a/acompiler/nvidia-96xx/Pkgfile b/acompiler/nvidia-96xx/Pkgfile
index b3d87bd93..b69f5adda 100644
--- a/acompiler/nvidia-96xx/Pkgfile
+++ b/acompiler/nvidia-96xx/Pkgfile
@@ -6,7 +6,7 @@
name=nvidia-96xx
version=96.43.18
-release=1
+release=2
kernel=`uname -r|sed "s/-NuTyX//"`
source=(http://us.download.nvidia.com/XFree86/Linux-x86/$version/NVIDIA-Linux-x86-$version-pkg1.run\
)
@@ -45,5 +45,16 @@ build() {
$PKG/usr/share/licences/nvidia-71xx/
install -D -m644 $PKGMK_WORK_DIR/src/NVIDIA-Linux-x86-$version-pkg1/usr/share/doc/README.txt $PKG/usr/share/doc/nvidia/README
find $PKG/usr -type d -exec chmod 755 {} \;
+ mkdir -p $PKG/etc/X11/xorg.conf.d
+cat > $PKG/etc/X11/xorg.conf.d/30-nvidia.conf << "EOF"
+Section "Device"
+ Identifier "NVIDIA"
+ Driver "nvidia"
+EndSection
+Section "ServerFlags"
+# temporary ignore abi mismatch until nvidia support xorg-server 1.9
+ Option "IgnoreABI" "True"
+EndSection
+EOF
}