ports/opt (2.4): nvidia: Add patch for 2.6.25 compatibility.
commit a2ed6056864f6d44556568ca974d6d47565e7f57 Author: Brett Goulder <predatorfreak@dcaf-security.org> Date: Sun Apr 20 15:30:43 2008 -0400 nvidia: Add patch for 2.6.25 compatibility. diff --git a/nvidia/.md5sum b/nvidia/.md5sum index 2d8669e..e38688f 100644 --- a/nvidia/.md5sum +++ b/nvidia/.md5sum @@ -1,2 +1,3 @@ e7aaca79c846e34cfe8111040bfee2d0 NVIDIA-Linux-x86-169.12-pkg0.run +a6b6d9d7ff0306343be3fa40e72337fd nvidia-169.12-2.6.25.patch 544ac021f572c0aca5025dcca9d01510 nvidia-makefile.patch diff --git a/nvidia/Pkgfile b/nvidia/Pkgfile index d22399b..116369c 100644 --- a/nvidia/Pkgfile +++ b/nvidia/Pkgfile @@ -6,9 +6,10 @@ name=nvidia version=169.12 -release=1 +release=2 source=(http://download.nvidia.com/XFree86/Linux-x86/$version/NVIDIA-Linux-x86-$vers... \ - $name-makefile.patch) + $name-makefile.patch + $name-$version-2.6.25.patch) build() { sh NVIDIA-Linux-x86-$version-pkg0.run --extract-only @@ -16,6 +17,9 @@ build() { # patch Makefile.kbuild for normal users and no load during build patch -p0 -i $SRC/$name-makefile.patch usr/src/nv/Makefile.kbuild + # Allow stable version to build with kernel's equal to or greater than + # 2.6.25 + patch -p0 -i $SRC/$name-$version-2.6.25.patch # create directories the Makefile expects mkdir -p $PKG/usr/lib \
participants (1)
-
crux@crux.nu