diff options
author | root <root@rshg054.dnsready.net> | 2013-08-02 01:31:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-02 01:31:32 -0700 |
commit | f7cd2a0a073da2373cd3f3c8e31515dd0b83b645 (patch) | |
tree | e28c5c379825afaf02a927a8f1d1b1fcb94c2362 /community/fbv | |
parent | 70ec180b1cca6eda5576597c2bfff9171f7815bf (diff) |
Fri Aug 2 01:30:56 PDT 2013
Diffstat (limited to 'community/fbv')
-rw-r--r-- | community/fbv/PKGBUILD | 11 | ||||
-rw-r--r-- | community/fbv/giflib-5.0.patch | 21 |
2 files changed, 28 insertions, 4 deletions
diff --git a/community/fbv/PKGBUILD b/community/fbv/PKGBUILD index 6577fafd2..be75edd40 100644 --- a/community/fbv/PKGBUILD +++ b/community/fbv/PKGBUILD @@ -1,23 +1,26 @@ -# $Id: PKGBUILD 90022 2013-05-06 19:36:51Z foutrelis $ +# $Id: PKGBUILD 94921 2013-08-01 07:01:11Z bpiotrowski $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Aectann <aectann@infoline.su> pkgname=fbv pkgver=1.0b -pkgrel=6 +pkgrel=7 pkgdesc="FrameBuffer image viewer" arch=('i686' 'x86_64') url="http://s-tech.elsat.net.pl/fbv/" license=('GPL') depends=('libpng' 'libungif' 'libjpeg') -source=(http://s-tech.elsat.net.pl/fbv/$pkgname-$pkgver.tar.gz) -md5sums=('3e466375b930ec22be44f1041e77b55d') +source=(http://s-tech.elsat.net.pl/fbv/$pkgname-$pkgver.tar.gz + giflib-5.0.patch) +md5sums=('3e466375b930ec22be44f1041e77b55d' + '6310899c97c4226352ad409c1c7fefb3') build() { cd $srcdir/$pkgname-$pkgver ./configure --prefix=/usr --mandir=/usr/share/man sed -i 's|LIBS.*|LIBS=-lpng -ljpeg -lungif -lgif|' Make.conf sed -i 's|setjmp(png_ptr->jmpbuf)|setjmp(png_jmpbuf(png_ptr))|' png.c + patch -Np1 -i ../giflib-5.0.patch make } diff --git a/community/fbv/giflib-5.0.patch b/community/fbv/giflib-5.0.patch new file mode 100644 index 000000000..462e2fb04 --- /dev/null +++ b/community/fbv/giflib-5.0.patch @@ -0,0 +1,21 @@ +diff -rupN a/gif.c b/gif.c +--- a/gif.c 2003-08-24 22:23:02.000000000 +0200 ++++ b/gif.c 2013-07-30 10:27:55.851099159 +0200 +@@ -81,7 +81,7 @@ int fh_gif_load(char *name,unsigned char + ColorMapObject *cmap; + int cmaps; + +- gft=DGifOpenFileName(name); ++ gft=DGifOpenFileName(name, NULL); + if(gft==NULL){printf("err5\n"); gflush;} ////////// + do + { +@@ -184,7 +184,7 @@ int fh_gif_getsize(char *name,int *x,int + int extcode; + GifRecordType rt; + +- gft=DGifOpenFileName(name); ++ gft=DGifOpenFileName(name, NULL); + if(gft==NULL) gflush; + do + { |