diff options
-rw-r--r-- | x11/nvidia-driver/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile index 91fe5b42172a..820074d87912 100644 --- a/x11/nvidia-driver/Makefile +++ b/x11/nvidia-driver/Makefile @@ -91,7 +91,7 @@ post-patch: .SILENT # We should support -CURRENT: kill the check ${REINPLACE_CMD} '24,26d' ${WRKSRC}/src/nv-freebsd.h # Adjust for updated d_mmap() in recent -CURRENT -.if ${NVVERSION} < 1952200 +.if ${OSVERSION} > 900005 && ${NVVERSION} < 1952200 ${REINPLACE_CMD} 's/vm_offset_t offset/vm_ooffset_t offset/ ; \ s/vm_offset_t \*address/vm_paddr_t *address/ ; \ s/int nprot/&, vm_memattr_t *memattr/' \ |