From e4b93a0dd6ea2480c2fa2768cb8b253327f52a8b Mon Sep 17 00:00:00 2001 From: Niclas Zeising Date: Fri, 22 Jun 2018 09:35:05 +0000 Subject: [PATCH] Add a patch to fix build with BSD grep Since this is not the default, no need to bump portrevision. PR: 228673 Submitted by: Stefan Esser --- graphics/mesa-dri/files/patch-configure | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/graphics/mesa-dri/files/patch-configure b/graphics/mesa-dri/files/patch-configure index 3b7516c0e152..679cb3c71e95 100644 --- a/graphics/mesa-dri/files/patch-configure +++ b/graphics/mesa-dri/files/patch-configure @@ -51,6 +51,22 @@ dri3_default=yes ;; *) +@@ -26765,13 +26765,13 @@ + have_vdpau_platform=no + fi + +-if echo $platforms | grep -q "x11\|drm"; then ++if echo $platforms | egrep -q "x11|drm"; then + have_omx_platform=yes + else + have_omx_platform=no + fi + +-if echo $platforms | grep -q "x11\|drm\|wayland"; then ++if echo $platforms | egrep -q "x11|drm|wayland"; then + have_va_platform=yes + else + have_va_platform=no @@ -27096,9 +27106,6 @@ rm -f core conftest.err conftest.$ac_obj CLANG_LIBDIR=${LLVM_LIBDIR} fi