--- nvidia-drivers-180.60.ebuild.orig 2009-06-29 15:37:36.000000000 -0700 +++ nvidia-drivers-180.60.ebuild.orig 2009-07-12 16:15:37.000000000 -0700 @@ -247,6 +247,8 @@ epatch "${FILESDIR}"/NVIDIA_glx-defines.patch # Use some more sensible gl headers and make way for new glext.h epatch "${FILESDIR}"/NVIDIA_glx-glheader.patch + # fix compilation for linux >=2.6.31 + epatch "${FILESDIR}"/${P}-linux-2.6.31.patch if use kernel_linux; then # Quiet down warnings the user does not need to see