diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2011-11-08 06:22:02 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2011-11-08 06:22:02 +0000 |
commit | f273d6785e181ba8ac3eb1999b4d209e5b018259 (patch) | |
tree | ee72e16a71d2a1dddf784cd46275cb5c3bc74eae /x11/nvidia-driver | |
parent | 869e9fd5739edcdcb3bbc83d1f9fddb93d97490b (diff) | |
download | ports-f273d6785e181ba8ac3eb1999b4d209e5b018259.tar.gz ports-f273d6785e181ba8ac3eb1999b4d209e5b018259.zip |
Notes
Diffstat (limited to 'x11/nvidia-driver')
-rw-r--r-- | x11/nvidia-driver/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile index 837b58da0320..d3b4784d45b3 100644 --- a/x11/nvidia-driver/Makefile +++ b/x11/nvidia-driver/Makefile @@ -103,6 +103,11 @@ post-patch: .SILENT s/int nprot/&, vm_memattr_t *memattr/' \ ${WRKSRC}/src/nvidia_dev.c .endif +# Catch up with FreeBSD SVN r225617 +.if ${OSVERSION} > 900043 && ${NVVERSION} < 1952200 + ${REINPLACE_CMD} -e '/return/s/ioctl/sys_&/' \ + ${WRKSRC}/src/nvidia_linux.c +.endif .if defined(WITH_FREEBSD_AGP) ${REINPLACE_CMD} -E 's/undef (NV_SUPPORT_OS_AGP)/define \1/' \ ${WRKSRC}/src/nv-freebsd.h |