summaryrefslogtreecommitdiff
path: root/media-video/vlc/files/vlc-2.2.0-fix-xcb.patch
blob: c6a1b94658d22cb79dc7a8d36951796afe2fa722 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
https://github.com/videolan/vlc/commit/c354efa3a2843d479c8fa9e929ff1064e5526bfa
--- modules/hw/vdpau/Makefile.am.orig	2015-04-16 22:29:26.299342749 -0700
+++ modules/hw/vdpau/Makefile.am	2015-04-16 22:31:40.886340950 -0700
@@ -45,6 +45,7 @@
 libvdpau_chroma_plugin_la_LIBADD = libvlc_vdpau.la
 vdpau_LTLIBRARIES += libvdpau_chroma_plugin.la
 
+if HAVE_XCB
 libvdpau_display_plugin_la_SOURCES = display.c
 libvdpau_display_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/../../video_output/xcb
 libvdpau_display_plugin_la_CFLAGS = $(AM_CFLAGS) $(XCB_CFLAGS)
@@ -52,3 +53,4 @@
 	../../video_output/libvlc_xcb_events.la \
 	$(AM_LIBADD) $(X_LIBS) $(X_PRE_LIBS) -lX11 $(XCB_LIBS)
 vdpau_LTLIBRARIES += libvdpau_display_plugin.la
+endif