<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - piglit_drm_dma_buf.c:265:12: error: ‘GBM_FORMAT_R8’ undeclared"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101358#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - piglit_drm_dma_buf.c:265:12: error: ‘GBM_FORMAT_R8’ undeclared"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101358">bug 101358</a>
              from <span class="vcard"><a class="email" href="mailto:vlee@freedesktop.org" title="Vinson Lee <vlee@freedesktop.org>"> <span class="fn">Vinson Lee</span></a>
</span></b>
        <pre>(In reply to Jan Vesely from <a href="show_bug.cgi?id=101358#c3">comment #3</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=131841" name="attach_131841" title="cmake: Reintroduce version check to gbm_bo_map check">attachment 131841</a> <a href="attachment.cgi?id=131841&action=edit" title="cmake: Reintroduce version check to gbm_bo_map check">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=101358&attachment=131841'>[review]</a> [review]
> cmake: Reintroduce version check to gbm_bo_map check

> new patch. it reintroduces the old check so PIGLIT_HAS_GBM_BO_MAP is only
> defined if both vesion >= 12.1 AND the function is available</span >

This patch fixes the build for me.

Tested-by: Vinson Lee <<a href="mailto:vlee@freedesktop.org">vlee@freedesktop.org</a>></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>