2012-05-05 21:38:16 +00:00
|
|
|
--- /mnt/portage/portage/x11-drivers/nvidia-drivers/nvidia-drivers-295.49.ebuild 2012-05-04 07:58:57.000000000 -0700
|
|
|
|
+++ nvidia-drivers-295.49.ebuild 2012-05-05 11:52:00.676444319 -0700
|
2011-10-06 07:55:11 +00:00
|
|
|
@@ -19,7 +19,7 @@
|
|
|
|
LICENSE="NVIDIA"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
|
2012-05-05 21:38:16 +00:00
|
|
|
-IUSE="acpi custom-cflags multilib kernel_linux +tools"
|
|
|
|
+IUSE="acpi custom-cflags multilib kernel_linux +tools pax_kernel"
|
2011-10-06 07:55:11 +00:00
|
|
|
RESTRICT="strip"
|
|
|
|
EMULTILIB_PKG="true"
|
|
|
|
|
2012-05-05 21:38:16 +00:00
|
|
|
@@ -299,6 +299,12 @@
|
2011-10-06 07:55:11 +00:00
|
|
|
# If greater than 2.6.5 use M= instead of SUBDIR=
|
|
|
|
convert_to_m "${NV_SRC}"/Makefile.kbuild
|
|
|
|
fi
|
|
|
|
+
|
2011-11-24 11:31:42 +00:00
|
|
|
+ if use pax_kernel; then
|
|
|
|
+ epatch "${FILESDIR}"/nvidia-drivers-pax-const.patch
|
|
|
|
+ epatch "${FILESDIR}"/nvidia-drivers-pax-usercopy.patch
|
2011-10-06 07:55:11 +00:00
|
|
|
+ fi
|
2012-05-05 21:38:16 +00:00
|
|
|
+
|
|
|
|
cat <<- EOF > "${S}"/nvidia.icd
|
|
|
|
/usr/$(get_libdir)/libcuda.so
|
|
|
|
EOF
|