Date: Thursday, May 29, 2014 @ 17:07:57 Author: spupykin Revision: 112186
upgpkg: xplanet 1.3.0-5 upd Modified: xplanet/trunk/PKGBUILD xplanet/trunk/giflib6.patch ---------------+ PKGBUILD | 4 ++-- giflib6.patch | 19 +++++++++++++++---- 2 files changed, 17 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-05-29 15:07:49 UTC (rev 112185) +++ PKGBUILD 2014-05-29 15:07:57 UTC (rev 112186) @@ -5,7 +5,7 @@ pkgname=xplanet pkgver=1.3.0 -pkgrel=4 +pkgrel=5 pkgdesc="An Xearth wannabe" arch=(i686 x86_64) url="http://xplanet.sourceforge.net/" @@ -14,7 +14,7 @@ source=(http://downloads.sourceforge.net/project/xplanet/xplanet/$pkgver/xplanet-$pkgver.tar.gz giflib6.patch) md5sums=('41f7db2ccd1d8b4b989cacaf9adfe692' - '74e1894304fe3b7caf0b3ddf3c471b0b') + '027342e9a912e8eaee3a913d6c710050') prepare() { cd $srcdir/$pkgname-$pkgver Modified: giflib6.patch =================================================================== --- giflib6.patch 2014-05-29 15:07:49 UTC (rev 112185) +++ giflib6.patch 2014-05-29 15:07:57 UTC (rev 112186) @@ -1,6 +1,6 @@ -diff -wbBur xplanet-1.3.0/src/libimage/gif.c /home/sergej/tmp/BUILD/staging-i686/sergej/build/xplanet/src/xplanet-1.3.0/src/libimage/gif.c +diff -wbBur xplanet-1.3.0/src/libimage/gif.c xplanet-1.3.0.my/src/libimage/gif.c --- xplanet-1.3.0/src/libimage/gif.c 2006-03-26 01:50:51.000000000 +0300 -+++ /home/sergej/tmp/BUILD/staging-i686/sergej/build/xplanet/src/xplanet-1.3.0/src/libimage/gif.c 2013-07-30 18:21:17.412474692 +0400 ++++ xplanet-1.3.0.my/src/libimage/gif.c 2014-05-29 18:59:14.830652716 +0400 @@ -20,7 +20,7 @@ #include <stdio.h> @@ -59,6 +59,15 @@ return(0); } } +@@ -154,7 +154,7 @@ + + free(buffer); + +- DGifCloseFile(infile); ++ DGifCloseFile(infile, NULL); + return(1); + } + @@ -178,7 +178,7 @@ return(0); } @@ -119,11 +128,13 @@ return(0); } ptr += width; -@@ -233,7 +233,7 @@ +@@ -232,8 +232,8 @@ + EGifSpew(outfile); - if (EGifCloseFile(outfile) == GIF_ERROR) +- if (EGifCloseFile(outfile) == GIF_ERROR) - PrintGifError(); ++ if (EGifCloseFile(outfile, NULL) == GIF_ERROR) + printf("%s\n", GifErrorString(GIF_ERROR)); free(buffer);