• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/common/libva


Commit MetaInfo

Revisión50a77df1b7340a05e9c9099868a46b4b045b7bd4 (tree)
Tiempo2017-11-15 03:34:46
AutorSebastian Ramacher <sramacher@debi...>
CommiterXiang, Haihao

Log Message

va_drm: dlopen correct version of libva-x11

Determine the correct SONAME automatically.

Signed-off-by: Sebastian Ramacher <sramacher@debian.org>

Cambiar Resumen

Diferencia incremental

--- a/va/drm/Makefile.am
+++ b/va/drm/Makefile.am
@@ -46,6 +46,7 @@ source_h_priv = \
4646 if USE_X11
4747 source_c += va_drm_auth_x11.c
4848 AM_CPPFLAGS += $(X11_CFLAGS)
49+AM_CPPFLAGS += -DLIBVA_MAJOR_VERSION=$(LIBVA_MAJOR_VERSION)
4950 endif
5051
5152 noinst_LTLIBRARIES = libva_drm.la
--- a/va/drm/va_drm_auth_x11.c
+++ b/va/drm/va_drm_auth_x11.c
@@ -28,8 +28,6 @@
2828 #include <X11/Xlib.h>
2929 #include "va_drm_auth_x11.h"
3030
31-#define LIBVA_MAJOR_VERSION 1
32-
3331 typedef struct drm_auth_x11 DRMAuthX11;
3432 typedef struct drm_auth_x11_vtable DRMAuthX11VTable;
3533