nvidia-drivers: Update ebuild.diff

This commit is contained in:
Stefan Reimer 2012-05-05 14:38:16 -07:00
parent 7a10c89a3e
commit 5eb6303436

View File

@ -1,15 +1,15 @@
--- ../../../../portage/x11-drivers/nvidia-drivers/nvidia-drivers-290.06.ebuild 2011-11-04 11:11:42.000000000 -0700 --- /mnt/portage/portage/x11-drivers/nvidia-drivers/nvidia-drivers-295.49.ebuild 2012-05-04 07:58:57.000000000 -0700
+++ nvidia-drivers-290.10.ebuild 2011-11-24 03:28:04.027569344 -0800 +++ nvidia-drivers-295.49.ebuild 2012-05-05 11:52:00.676444319 -0700
@@ -19,7 +19,7 @@ @@ -19,7 +19,7 @@
LICENSE="NVIDIA" LICENSE="NVIDIA"
SLOT="0" SLOT="0"
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
-IUSE="acpi custom-cflags gtk multilib kernel_linux" -IUSE="acpi custom-cflags multilib kernel_linux +tools"
+IUSE="acpi custom-cflags gtk multilib kernel_linux pax_kernel" +IUSE="acpi custom-cflags multilib kernel_linux +tools pax_kernel"
RESTRICT="strip" RESTRICT="strip"
EMULTILIB_PKG="true" EMULTILIB_PKG="true"
@@ -288,6 +288,11 @@ @@ -299,6 +299,12 @@
# If greater than 2.6.5 use M= instead of SUBDIR= # If greater than 2.6.5 use M= instead of SUBDIR=
convert_to_m "${NV_SRC}"/Makefile.kbuild convert_to_m "${NV_SRC}"/Makefile.kbuild
fi fi
@ -18,6 +18,7 @@
+ epatch "${FILESDIR}"/nvidia-drivers-pax-const.patch + epatch "${FILESDIR}"/nvidia-drivers-pax-const.patch
+ epatch "${FILESDIR}"/nvidia-drivers-pax-usercopy.patch + epatch "${FILESDIR}"/nvidia-drivers-pax-usercopy.patch
+ fi + fi
} +
cat <<- EOF > "${S}"/nvidia.icd
src_compile() { /usr/$(get_libdir)/libcuda.so
EOF