pulseaudio: fix dependencies for openssl-3
[oi-userland.git] / components / x11 / mesa / patches / patch-src_egl_drivers_dri2_platform__drm.c.patch
blobd1a4cb405e2533298d64774caebc6df283e12c2b
1 $NetBSD: patch-src_egl_drivers_dri2_platform__drm.c,v 1.5 2020/01/21 14:41:26 nia Exp $
3 Revert: https://cgit.freedesktop.org/mesa/mesa/commit/?id=621b0fa8922ade0a8122b868177308e65e6d3595
5 This causes symbol referencing errors:
6 "ld: /usr/pkg/lib/libEGL.so.1: undefined reference to `gbm_format_get_name'"
8 TODO: Talk to upstream and investigate why.
10 --- src/egl/drivers/dri2/platform_drm.c.orig 2019-12-04 22:10:12.000000000 +0000
11 +++ src/egl/drivers/dri2/platform_drm.c
12 @@ -649,9 +649,8 @@ drm_add_configs_for_visuals(_EGLDriver *
14 for (unsigned i = 0; i < ARRAY_SIZE(format_count); i++) {
15 if (!format_count[i]) {
16 - struct gbm_format_name_desc desc;
17 - _eglLog(_EGL_DEBUG, "No DRI config supports native format %s",
18 - gbm_format_get_name(visuals[i].gbm_format, &desc));
19 + _eglLog(_EGL_DEBUG, "No DRI config supports native format 0x%x",
20 + visuals[i].gbm_format);