Date: Monday, November 7, 2011 @ 08:03:10 Author: jgc Revision: 142260
upgpkg: xf86-video-sisimedia 0.9.1-2 Fix crash with applications using XV (FS#26576) Added: xf86-video-sisimedia/trunk/fix-xv-crash.patch Modified: xf86-video-sisimedia/trunk/PKGBUILD --------------------+ PKGBUILD | 5 ++++- fix-xv-crash.patch | 11 +++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2011-11-07 12:58:22 UTC (rev 142259) +++ PKGBUILD 2011-11-07 13:03:10 UTC (rev 142260) @@ -3,7 +3,7 @@ pkgname=xf86-video-sisimedia pkgver=0.9.1 -pkgrel=1 +pkgrel=2 pkgdesc="X.org SiS 671 video driver" arch=(i686 x86_64) url="http://www.linuxconsulting.ro/xorg-drivers/" @@ -28,6 +28,7 @@ 0004-Make-sisRegs3D4-big-enough-to-hold-all-values-writte.patch 0005-Correct-bounds-check-of-blitClip-array-access.patch xserver19.patch + fix-xv-crash.patch COPYING) sha1sums=('22e6616df49ec82755daae08043a29aaf92fa430' '61715bb86180decde55a56fad9a12d841c89fbb2' @@ -45,6 +46,7 @@ '5e288526bfa2c534f1feabdb571da16da8a1c7a6' 'e86d702cb0b5e9bf43ff732696229965e176db7c' 'b5f260bed7e705808ec05620316e503ed5d52ee5' + '1fdd74a2aef9455ac5c37d1fe0146d81aa905d2d' 'a64e244f274bcb155f892d0488a1a4b1b2f7d70d') build() { @@ -64,6 +66,7 @@ patch -Np1 -i "${srcdir}/0004-Make-sisRegs3D4-big-enough-to-hold-all-values-writte.patch" patch -Np1 -i "${srcdir}/0005-Correct-bounds-check-of-blitClip-array-access.patch" patch -Np1 -i "${srcdir}/xserver19.patch" + patch -Np0 -i "${srcdir}/fix-xv-crash.patch" sed -i -e 's,sis_drv,sisimedia_drv,g' src/Makefile.am sed -i -e 's,\"sis\",\"sisimedia\",g' src/sis.h Added: fix-xv-crash.patch =================================================================== --- fix-xv-crash.patch (rev 0) +++ fix-xv-crash.patch 2011-11-07 13:03:10 UTC (rev 142260) @@ -0,0 +1,11 @@ +--- src/sis_video.c 2008-10-01 09:44:01.000000000 +0200 ++++ src/sis_video.c.new 2011-10-17 14:23:07.000000000 +0200 +@@ -1121,7 +1121,7 @@ + adapt->GetPortAttribute = SISGetPortAttribute; + adapt->QueryBestSize = SISQueryBestSize; + adapt->PutImage = SISPutImage; +- adapt->ReputImage = SISReputImage; ++ adapt->ReputImage = NULL; + adapt->QueryImageAttributes = SISQueryImageAttributes; + + /* gotta uninit this someplace */