From d6003aeccd2ac47b95ac7629fbd1eb7740f37371 Mon Sep 17 00:00:00 2001 From: gregory guy Date: Fri, 21 May 2021 22:27:55 +0200 Subject: [PATCH] mpeglib: switch to Xxf86dga.h header since xf86dga.h is obsolete and may be removed in the future. Signed-off-by: gregory guy (cherry picked from commit 09de916a73bcfa51aee1fa6661fc26c4ec64937f) --- mpeglib/ConfigureChecks.cmake | 2 +- mpeglib/lib/util/render/x11/xinit.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mpeglib/ConfigureChecks.cmake b/mpeglib/ConfigureChecks.cmake index 254eb03d..c411b689 100644 --- a/mpeglib/ConfigureChecks.cmake +++ b/mpeglib/ConfigureChecks.cmake @@ -34,7 +34,7 @@ pkg_search_module( XEXT xext ) check_include_file( "X11/extensions/XShm.h" X11_SHARED_MEM ) -check_include_file( "X11/extensions/xf86dga1.h" X11_DGA2 ) +check_include_file( "X11/extensions/Xxf86dga.h" X11_DGA2 ) if( X11_DGA2 ) set( DGA_LIBRARIES Xxf86dga ) endif( ) diff --git a/mpeglib/lib/util/render/x11/xinit.h b/mpeglib/lib/util/render/x11/xinit.h index c42c290f..fe6c09b9 100644 --- a/mpeglib/lib/util/render/x11/xinit.h +++ b/mpeglib/lib/util/render/x11/xinit.h @@ -38,7 +38,7 @@ #endif #ifdef X11_DGA2 -#include +#include #endif #define ERR_XI_FAILURE 0xFF