View | Details | Raw Unified | Return to bug 260318 | Differences between
and this patch

Collapse All | Expand All

(-)b/x11/nvidia-driver/Makefile (-3 / +4 lines)
Lines 169-177 Link Here
169
		${WRKSRC}/src/nvidia-modeset/nvidia-modeset-freebsd.c
169
		${WRKSRC}/src/nvidia-modeset/nvidia-modeset-freebsd.c
170
.endif
170
.endif
171
# After src df38ada2931f, `sys/module.h' must be included after `sys/param.h'
171
# After src df38ada2931f, `sys/module.h' must be included after `sys/param.h'
172
.if ${OSVERSION} >= 1400042 && ${NVVERSION} >= 358.009
172
.if ${NVVERSION} >= 358.009
173
	@${REINPLACE_CMD} -e '/^#include <sys\/module/ { x; \
173
	@${REINPLACE_CMD} -e 's:^#include <sys/param.h>::g; \
174
		s:^:#include <sys/param.h>:; G; }; 14d' \
174
		/^#include <sys\/module/ { x; \
175
		s:^:#include <sys/param.h>:; G; }' \
175
		${WRKSRC}/src/nvidia-modeset/nvidia-modeset-freebsd.c
176
		${WRKSRC}/src/nvidia-modeset/nvidia-modeset-freebsd.c
176
.endif
177
.endif
177
# Disable installation of Linux libraries (provided by the corresponding
178
# Disable installation of Linux libraries (provided by the corresponding

Return to bug 260318