diff -ur xf86-video-via-0.1.32_p20051115.orig/work/xf86-video-via-0.1.32_p20051115/src/Makefile.am xf86-video-via-0.1.32_p20051115/work/xf86-video-via-0.1.32_p20051115/src/Makefile.am --- xf86-video-via-0.1.32_p20051115.orig/work/xf86-video-via-0.1.32_p20051115/src/Makefile.am 2005-09-28 16:58:41.000000000 +0200 +++ xf86-video-via-0.1.32_p20051115/work/xf86-video-via-0.1.32_p20051115/src/Makefile.am 2005-11-16 15:41:55.000000000 +0100 @@ -68,3 +68,7 @@ via_dri.h \ via_drmclient.h endif + +if XVMC +AM_CFLAGS += -DXvExtension +endif diff -ur xf86-video-via-0.1.32_p20051115.orig/work/xf86-video-via-0.1.32_p20051115/src/xvmc/unichrome/Makefile.am xf86-video-via-0.1.32_p20051115/work/xf86-video-via-0.1.32_p20051115/src/xvmc/unichrome/Makefile.am --- xf86-video-via-0.1.32_p20051115.orig/work/xf86-video-via-0.1.32_p20051115/src/xvmc/unichrome/Makefile.am 2005-09-14 21:09:11.000000000 +0200 +++ xf86-video-via-0.1.32_p20051115/work/xf86-video-via-0.1.32_p20051115/src/xvmc/unichrome/Makefile.am 2005-11-16 16:24:32.000000000 +0100 @@ -8,4 +8,4 @@ ../xf86dri.c libviaXvMC_la_CFLAGS = @XORG_CFLAGS@ @DRI_CFLAGS@ -I$(top_srcdir)/src -I$(top_srcdir)/src/xvmc -DTRUE=1 -DFALSE=0 -libviaXvMC_la_LDFLAGS = -version-number 1:0:0 +libviaXvMC_la_LDFLAGS = @DRI_LIBS@ -version-number 1:0:0 diff -ur xf86-video-via-0.1.32_p20051115.orig/work/xf86-video-via-0.1.32_p20051115/src/xvmc/unichromeProA/Makefile.am xf86-video-via-0.1.32_p20051115/work/xf86-video-via-0.1.32_p20051115/src/xvmc/unichromeProA/Makefile.am --- xf86-video-via-0.1.32_p20051115.orig/work/xf86-video-via-0.1.32_p20051115/src/xvmc/unichromeProA/Makefile.am 2005-09-14 21:09:12.000000000 +0200 +++ xf86-video-via-0.1.32_p20051115/work/xf86-video-via-0.1.32_p20051115/src/xvmc/unichromeProA/Makefile.am 2005-11-16 16:40:11.000000000 +0100 @@ -8,4 +8,4 @@ ../xf86dri.c libviaXvMCPro_la_CFLAGS = @XORG_CFLAGS@ @DRI_CFLAGS@ -I$(top_srcdir)/src -I$(top_srcdir)/src/xvmc -DTRUE=1 -DFALSE=0 -libviaXvMCPro_la_LDFLAGS = -version-number 1:0:0 +libviaXvMCPro_la_LDFLAGS = @DRI_LIBS@ -version-number 1:0:0