1
0
forked from ports/contrib

xine-lib: fix for xorg header change in X11 videoproto

This commit is contained in:
Danny Rawlins 2011-03-13 13:18:34 +11:00
parent 63ab818ec8
commit 7d8c3b7bb6
3 changed files with 23 additions and 2 deletions

View File

@ -1 +1,2 @@
8662fb124870b1dd7effe4ff5e2a2e3d xine-lib-1.1.19-xvmc.patch
d0969c067dc32f33c5ea431e5e2106ce xine-lib-1.1.19.tar.xz

View File

@ -6,12 +6,15 @@
name=xine-lib
version=1.1.19
release=1
source=(http://downloads.sourceforge.net/project/xine/$name/$version/$name-$version.tar.xz)
release=2
source=(http://downloads.sourceforge.net/project/xine/$name/$version/$name-$version.tar.xz
xine-lib-1.1.19-xvmc.patch)
build() {
cd $name-$version
patch -p 0 -i $SRC/xine-lib-1.1.19-xvmc.patch
./configure \
CFLAGS='' \
CXXFLAGS='' \

View File

@ -0,0 +1,17 @@
Quoting ChangeLog of X11's videoproto package:
vldXvMC.h: stop uselessly including XvMClib.h
--- src/video_out/xxmc.h
+++ src/video_out/xxmc.h
@@ -77,10 +77,10 @@
#include <X11/extensions/XShm.h>
#include <X11/extensions/Xv.h>
#include <X11/extensions/Xvlib.h>
+#include <X11/extensions/XvMClib.h>
#ifdef HAVE_VLDXVMC
#include <X11/extensions/vldXvMC.h>
#else
- #include <X11/extensions/XvMClib.h>
#include <X11/extensions/XvMC.h>
#endif