diff options
author | danfe <danfe@FreeBSD.org> | 2007-02-26 19:29:34 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2007-02-26 19:29:34 +0800 |
commit | 19f0cff88a79eb95c27807b2393e09bd55be4efe (patch) | |
tree | 2b91dde4362dea3bab6c4ce2c92217843eb99304 | |
parent | e4eaa8592b8ef90a9a49f4558ac279f2227fba8b (diff) | |
download | freebsd-ports-gnome-19f0cff88a79eb95c27807b2393e09bd55be4efe.tar.gz freebsd-ports-gnome-19f0cff88a79eb95c27807b2393e09bd55be4efe.tar.zst freebsd-ports-gnome-19f0cff88a79eb95c27807b2393e09bd55be4efe.zip |
Fix the build on recent -CURRENT.
Reported by: piso
-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 |