From dba5b0127d9f00a13c489f0f5893481cbe7d429b Mon Sep 17 00:00:00 2001 From: root Date: Thu, 30 Aug 2012 00:04:43 +0000 Subject: Thu Aug 30 00:04:42 UTC 2012 --- community/avifile/PKGBUILD | 10 +++++----- community/avifile/gcc.patch | 12 ++++++++++++ 2 files changed, 17 insertions(+), 5 deletions(-) (limited to 'community/avifile') diff --git a/community/avifile/PKGBUILD b/community/avifile/PKGBUILD index e38f7fb94..d9d575720 100644 --- a/community/avifile/PKGBUILD +++ b/community/avifile/PKGBUILD @@ -1,16 +1,16 @@ -# $Id: PKGBUILD 58655 2011-11-17 10:01:32Z spupykin $ +# $Id: PKGBUILD 75654 2012-08-28 09:59:19Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: tobias # Contributor: Tom Newsom pkgname=avifile pkgver=0.7.45 -pkgrel=8 +pkgrel=9 pkgdesc="A library that allows you to read and write compressed AVI files" arch=('i686' 'x86_64') -depends=('qt' 'sdl' 'freetype2' 'libpng' 'libjpeg' +depends=('qt3' 'sdl' 'freetype2' 'libpng' 'libjpeg' 'libvorbis' 'xvidcore' 'libxxf86dga' 'libxi' 'libxv') -makedepends=('lame' 'qt3' 'v4l-utils' 'chrpath') +makedepends=('lame' 'v4l-utils' 'chrpath') url="http://avifile.sourceforge.net" license=('GPL') options=('!libtool') @@ -18,7 +18,7 @@ source=("http://downloads.sourceforge.net/sourceforge/avifile/$pkgname-0.7-$pkgv 'gcc.patch' 'videodev.patch') md5sums=('7da94802f120d1b69e04a13170dcd21d' - '588c3ce7bdebc1244f46ba56d8ef8a42' + '79a488db80c82f0abb8a83f52e3b3aa0' '6cca050885afe85c2d98982f75f5e3b0') build() { diff --git a/community/avifile/gcc.patch b/community/avifile/gcc.patch index e93de24a8..078b4ae81 100644 --- a/community/avifile/gcc.patch +++ b/community/avifile/gcc.patch @@ -131,3 +131,15 @@ diff -wbBur avifile-0.7-0.7.45/samples/qtvidcap/v4lxif.cpp avifile-0.7-0.7.45.my if (!base) avml(AVML_WARN, "v4l1: can not allocate frame buffer base: %p\n", base); +diff -wbBur avifile-0.7-0.7.45/lib/aviread/AsfNetworkInputStream.cpp avifile-0.7-0.7.45.my/lib/aviread/AsfNetworkInputStream.cpp +--- avifile-0.7-0.7.45.org/lib/aviread/AsfNetworkInputStream.cpp 2004-10-25 14:15:38.000000000 +0400 ++++ avifile-0.7-0.7.45/lib/aviread/AsfNetworkInputStream.cpp 2012-08-28 13:26:33.000000000 +0400 +@@ -937,7 +937,7 @@ + } + + asf_packet* p; +- unsigned short& size = chhdr.size; ++ uint16_t size = chhdr.size; + //printf("STREAMPACKET 0x%x sz:%d %lld seq:%d part:%d sc:%d\n", chhdr.kind, size, rsize, chhdr.seq, chhdr.partflag, chhdr.size_confirm); + switch (chhdr.kind) + { -- cgit v1.2.3-54-g00ecf