summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2021-05-21 22:27:55 +0200
committerMichele Calgaro <michele.calgaro@yahoo.it>2021-05-22 14:34:56 +0900
commitd6003aeccd2ac47b95ac7629fbd1eb7740f37371 (patch)
tree2d645326fa9df58e17abdf4a4d2687e2b1987fd1
parentc596279e9afa33115d8c2baa345a3383c64f57d9 (diff)
downloadtdemultimedia-d6003aeccd2ac47b95ac7629fbd1eb7740f37371.tar.gz
tdemultimedia-d6003aeccd2ac47b95ac7629fbd1eb7740f37371.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> (cherry picked from commit 09de916a73bcfa51aee1fa6661fc26c4ec64937f)
-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