[arch-commits] Commit in gnustep-gui/trunk (PKGBUILD giflib-5.0.patch)
Bartłomiej Piotrowski
bpiotrowski at nymeria.archlinux.org
Tue Jul 30 09:38:11 UTC 2013
Date: Tuesday, July 30, 2013 @ 11:38:11
Author: bpiotrowski
Revision: 94771
upgpkg: gnustep-gui 0.23.1-1
- giflib 5.0 rebuild
Added:
gnustep-gui/trunk/giflib-5.0.patch
Modified:
gnustep-gui/trunk/PKGBUILD
------------------+
PKGBUILD | 7 +++++--
giflib-5.0.patch | 21 +++++++++++++++++++++
2 files changed, 26 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-07-30 09:27:09 UTC (rev 94770)
+++ PKGBUILD 2013-07-30 09:38:11 UTC (rev 94771)
@@ -15,8 +15,10 @@
conflicts=('gnustep-gui-svn')
groups=('gnustep-core')
options=('!makeflags')
-source=(ftp://ftp.gnustep.org/pub/gnustep/core/$pkgname-$pkgver.tar.gz)
-md5sums=('1771bdb42f27ee946b17bf60fef5eb2e')
+source=(ftp://ftp.gnustep.org/pub/gnustep/core/$pkgname-$pkgver.tar.gz
+ giflib-5.0.patch)
+md5sums=('1771bdb42f27ee946b17bf60fef5eb2e'
+ 'b998c0bc3e2bc260c2779d7a50ce6407')
build() {
cd $srcdir/$pkgname-$pkgver
@@ -24,6 +26,7 @@
./configure --prefix=/usr --sysconfdir=/etc/GNUstep
sed -i 's|#include "GNUstepBase/preface.h"|//#include "GNUstepBase/preface.h" |' Source/GSGuiPrivate.h
sed -i 's|png_sizeof|sizeof|g' Source/NSBitmapImageRep+PNG.m
+ patch -Np1 -i ../giflib-5.0.patch
make
}
Added: giflib-5.0.patch
===================================================================
--- giflib-5.0.patch (rev 0)
+++ giflib-5.0.patch 2013-07-30 09:38:11 UTC (rev 94771)
@@ -0,0 +1,21 @@
+diff -rupN a/Source/NSBitmapImageRep+GIF.m b/Source/NSBitmapImageRep+GIF.m
+--- a/Source/NSBitmapImageRep+GIF.m 2013-01-13 14:57:37.000000000 +0100
++++ b/Source/NSBitmapImageRep+GIF.m 2013-07-30 11:30:19.630935640 +0200
+@@ -142,7 +142,7 @@ static int gs_gif_output(GifFileType *fi
+ }
+
+ gs_gif_init_input_source(&src, imageData);
+- file = DGifOpen(&src, gs_gif_input);
++ file = DGifOpen(&src, gs_gif_input, NULL);
+ if (file == NULL)
+ {
+ /* we do not use giferror here because it doesn't
+@@ -216,7 +216,7 @@ static int gs_gif_output(GifFileType *fi
+
+ /* open the image */
+ gs_gif_init_input_source(&src, imageData);
+- file = DGifOpen(&src, gs_gif_input);
++ file = DGifOpen(&src, gs_gif_input, NULL);
+ if (file == NULL)
+ {
+ /* we do not use giferror here because it doesn't
More information about the arch-commits
mailing list