diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2007-02-26 11:29:34 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2007-02-26 11:29:34 +0000 |
commit | 88c8b624edd9ec4e4a9a67b8569c8965fb429073 (patch) | |
tree | e80455cdc8ee31825989b4cac28bdca2d627757b /x11 | |
parent | 1376a3b978a6bdba3a9c72d969596300bcb91664 (diff) |
Fix the build on recent -CURRENT.
Reported by: piso
Notes
Notes:
svn path=/head/; revision=185980
Diffstat (limited to 'x11')
-rw-r--r-- | x11/nvidia-driver/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile index 746b02090616..db8e93020d0d 100644 --- a/x11/nvidia-driver/Makefile +++ b/x11/nvidia-driver/Makefile @@ -94,6 +94,9 @@ post-patch: .SILENT .if ${OSVERSION} > 600028 ${REINPLACE_CMD} '/bus_memio\.h/d' ${WRKSRC}/src/nv-freebsd.h .endif +.if ${OSVERSION} > 700030 + ${REINPLACE_CMD} -e 's/nvidia_intr/NULL, &/' ${WRKSRC}/src/nvidia_pci.c +.endif .if defined(WITH_FREEBSD_AGP) ${REINPLACE_CMD} -E 's/undef (NV_SUPPORT_OS_AGP)/define \1/' \ ${WRKSRC}/src/nv-freebsd.h |