Index: head/graphics/mesa-dri/Makefile =================================================================== --- head/graphics/mesa-dri/Makefile +++ head/graphics/mesa-dri/Makefile @@ -53,6 +53,10 @@ GALLIUM_DRIVERS+= FREEDRENO VC4 .endif +.if ${ARCH} == armv6 +EXTRA_PATCHES+= ${PATCHDIR}/extra-src_gallium_drivers_vc4_Makefile.in +.endif + CONFIGURE_ARGS+= --with-dri-drivers="${DRI_DRIVERS:tl}" \ --with-gallium-drivers="${GALLIUM_DRIVERS:tl}" Index: head/graphics/mesa-dri/Makefile.common =================================================================== --- head/graphics/mesa-dri/Makefile.common +++ head/graphics/mesa-dri/Makefile.common @@ -14,7 +14,7 @@ MESAVERSION= ${MESABASEVERSION}${MESASUBVERSION:C/^(.)/.\1/} MESADISTVERSION=${MESABASEVERSION}${MESASUBVERSION:C/^(.)/-\1/} -MESABASEVERSION= 17.1.0 +MESABASEVERSION= 17.1.1 # if there is a subversion, don't include the '-' between 7.11-rc2. MESASUBVERSION= Index: head/graphics/mesa-dri/distinfo =================================================================== --- head/graphics/mesa-dri/distinfo +++ head/graphics/mesa-dri/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1494841816 -SHA256 (mesa-17.1.0.tar.xz) = cf234a6ed4764673886b6661553b54675776ef0898f774716173cec890ac3b17 -SIZE (mesa-17.1.0.tar.xz) = 9849580 +TIMESTAMP = 1495896958 +SHA256 (mesa-17.1.1.tar.xz) = aed503f94c0c1630a162a3e276f4ee12a86764cee4cb92338ea2dea99a04e7ef +SIZE (mesa-17.1.1.tar.xz) = 9854480 Index: head/graphics/mesa-dri/files/extra-src_gallium_drivers_vc4_Makefile.in =================================================================== --- head/graphics/mesa-dri/files/extra-src_gallium_drivers_vc4_Makefile.in +++ head/graphics/mesa-dri/files/extra-src_gallium_drivers_vc4_Makefile.in @@ -0,0 +1,13 @@ +# enable NEON instructions in the compiler when building the NEON codepath +# +--- src/gallium/drivers/vc4/Makefile.in.orig 2017-05-16 13:55:49 UTC ++++ src/gallium/drivers/vc4/Makefile.in +@@ -669,7 +669,7 @@ libvc4_la_SOURCES = $(C_SOURCES) + libvc4_la_LIBADD = $(SIM_LIB) $(VC4_LIBS) libvc4_neon.la + libvc4_la_LDFLAGS = $(SIM_LDFLAGS) + libvc4_neon_la_SOURCES = vc4_tiling_lt.c +-libvc4_neon_la_CFLAGS = $(AM_CFLAGS) -DVC4_BUILD_NEON ++libvc4_neon_la_CFLAGS = $(AM_CFLAGS) -DVC4_BUILD_NEON -march=armv7-a -mfpu=neon + EXTRA_DIST = kernel/README + all: all-am + Index: head/graphics/mesa-dri/files/patch-src_gallium_drivers_vc4_Makefile.in =================================================================== --- head/graphics/mesa-dri/files/patch-src_gallium_drivers_vc4_Makefile.in +++ head/graphics/mesa-dri/files/patch-src_gallium_drivers_vc4_Makefile.in @@ -1,13 +0,0 @@ -# enable NEON instructions in the compiler when building the NEON codepath -# ---- src/gallium/drivers/vc4/Makefile.in.orig 2017-05-16 13:55:49 UTC -+++ src/gallium/drivers/vc4/Makefile.in -@@ -669,7 +669,7 @@ libvc4_la_SOURCES = $(C_SOURCES) - libvc4_la_LIBADD = $(SIM_LIB) $(VC4_LIBS) libvc4_neon.la - libvc4_la_LDFLAGS = $(SIM_LDFLAGS) - libvc4_neon_la_SOURCES = vc4_tiling_lt.c --libvc4_neon_la_CFLAGS = $(AM_CFLAGS) -DVC4_BUILD_NEON -+libvc4_neon_la_CFLAGS = $(AM_CFLAGS) -DVC4_BUILD_NEON -march=armv7-a -mfpu=neon - EXTRA_DIST = kernel/README - all: all-am -