Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e7798aeceff51b83ee62be60a2ad700c86771bbc
      
https://github.com/WebKit/WebKit/commit/e7798aeceff51b83ee62be60a2ad700c86771bbc
  Author: Nikolas Zimmermann <[email protected]>
  Date:   2026-04-22 (Wed, 22 Apr 2026)

  Changed paths:
    M Source/cmake/OptionsGTK.cmake
    M Source/cmake/OptionsWPE.cmake

  Log Message:
  -----------
  REGRESSION(299705@main): Fix bogus cmake HAVE_DRM_GET_FORMAT_MODIFIER_NAME 
redefinitions
https://bugs.webkit.org/show_bug.cgi?id=312974

Reviewed by Claudio Saavedra.

Fixes a copy/paste regression from 299705@main (commit af7a25e9646a).

The two new WEBKIT_CHECK_HAVE_FUNCTION() checks added for
drmModeCreateDumbBuffer and drmModeDestroyDumbBuffer were both passed
HAVE_DRM_GET_FORMAT_MODIFIER_NAME as the HAVE_* variable to define,
which overwrites the result of the preceding drmGetFormatModifierName
check. On systems whose libdrm lacks the dumb-buffer functions
(e.g. Ubuntu 22.04 without the JHBuild moduleset) this leads to build
failures.

Covered by Ubuntu 22.04 release builders.

* Source/cmake/OptionsGTK.cmake:
* Source/cmake/OptionsWPE.cmake:

Canonical link: https://commits.webkit.org/311755@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to