summaryrefslogtreecommitdiffstats
path: root/mpeglib
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2021-05-21 22:27:55 +0200
committergregory guy <gregory-tde@laposte.net>2021-05-21 22:27:55 +0200
commit09de916a73bcfa51aee1fa6661fc26c4ec64937f (patch)
treebfb0509581a74f908a7cbafeab20535712c7d33c /mpeglib
parent93e29bb54b66400ae7b4ae0bec2dfb71e05f366a (diff)
downloadtdemultimedia-09de916a73bcfa51aee1fa6661fc26c4ec64937f.tar.gz
tdemultimedia-09de916a73bcfa51aee1fa6661fc26c4ec64937f.zip
mpeglib: switch to Xxf86dga.h header since xf86dga.h is obsolete and may be removed in the future.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
Diffstat (limited to 'mpeglib')
-rw-r--r--mpeglib/ConfigureChecks.cmake2
-rw-r--r--mpeglib/lib/util/render/x11/xinit.h2
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 <X11/extensions/xf86dga.h>
+#include <X11/extensions/Xxf86dga.h>
#endif
#define ERR_XI_FAILURE 0xFF