[Bug 294875] graphics/drm-66-kmod: 6.6.25.1500068_9: build failed: file not found
| Newsgroups | gmane.os.freebsd.devel.x11 |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294875 --- Comment #6 from Tomoaki AOKI <[email protected]> --- (In reply to Chad Jacob Milios from comment #5) Below would hopefully fix the #include issue, too. ===== patch below ===== diff --git a/graphics/drm-61-kmod/Makefile b/graphics/drm-61-kmod/Makefile index f27ac024b98f..e91564fac766 100644 --- a/graphics/drm-61-kmod/Makefile +++ b/graphics/drm-61-kmod/Makefile @@ -54,6 +54,12 @@ PLIST_SUB+= I915="@comment " MAKE_ENV+= MAKEOBJDIRPREFIX=${WRKSRC}/obj +post-patch: +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1500508 + ${REINPLACE_CMD} -e 's:include/linux/compiler\_types\.h:include/linux/compiler\.h:g' \ + ${WRKSRC}/compiler_flags.mk +.endif + pre-build: ${MKDIR} ${WRKSRC}/obj (cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} obj) diff --git a/graphics/drm-66-kmod/Makefile b/graphics/drm-66-kmod/Makefile index be00cde2393c..4aa0dbb55e50 100644 --- a/graphics/drm-66-kmod/Makefile +++ b/graphics/drm-66-kmod/Makefile @@ -60,6 +60,12 @@ MAKE_ENV+= MAKEOBJDIRPREFIX=${WRKSRC}/obj CFLAGS+= -Wno-default-const-init-var-unsafe .endif +post-patch: +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1500508 + ${REINPLACE_CMD} -e 's:include/linux/compiler\_types\.h:include/linux/compiler\.h:g' \ + ${WRKSRC}/compiler_flags.mk +.endif + pre-build: ${MKDIR} ${WRKSRC}/obj (cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} obj) -- You are receiving this mail because: You are the assignee for the bug.