MFH: r466923

graphics/mesa-dri: always lower kernel version check

Sandybridge on FreeBSD 11.* is also affected:

$ glxgears
[intel_init_bufmgr: 1685] Kernel 3.9 required.
libGL error: failed to create dri screen
libGL error: failed to load driver: i965
5373 frames in 5.0 seconds = 1074.496 FPS

Reported by:	Kevin Oberman
PR:		225035 225415
Approved by:	ports-secteam blanket
This commit is contained in:
Jan Beich 2018-04-10 00:18:04 +00:00
parent db594b1c1a
commit d59db9aee9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2018Q2/; revision=466929

View File

@ -3,7 +3,7 @@
PORTNAME= mesa-dri
PORTVERSION= ${MESAVERSION}
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= graphics
COMMENT= OpenGL hardware acceleration drivers for DRI2+
@ -52,7 +52,7 @@ VULKAN_DRIVERS+= RADEON
.if ${ARCH} == amd64 || ${ARCH} == i386
DRI_DRIVERS+= I915 I965
GALLIUM_DRIVERS+= SVGA
. if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000
. if ${OPSYS} == FreeBSD
EXTRA_PATCHES+= ${PATCHDIR}/extra-src_mesa_drivers_dri_i965_intel__screen.c
. endif
VULKAN_DRIVERS+= INTEL