nvidia-drivers-331.13 fixed: build with 3.11

This commit is contained in:
Kolan Sh 2013-10-07 12:37:25 +04:00
parent ebb926d0e8
commit f0dc3da19e
1 changed files with 5 additions and 0 deletions

View File

@ -176,6 +176,11 @@ src_prepare() {
epatch "${FILESDIR}"/${PN}-pax-usercopy.patch
fi
# fix build with linux-3.11
if kernel_is ge 3 11 0 ; then
epatch "${FILESDIR}"/nv-linux.patch
fi
# Allow user patches so they can support RC kernels and whatever else
epatch_user
}