summaryrefslogtreecommitdiff
path: root/community/gnustep-gui
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-02 01:31:32 -0700
committerroot <root@rshg054.dnsready.net>2013-08-02 01:31:32 -0700
commitf7cd2a0a073da2373cd3f3c8e31515dd0b83b645 (patch)
treee28c5c379825afaf02a927a8f1d1b1fcb94c2362 /community/gnustep-gui
parent70ec180b1cca6eda5576597c2bfff9171f7815bf (diff)
Fri Aug 2 01:30:56 PDT 2013
Diffstat (limited to 'community/gnustep-gui')
-rw-r--r--community/gnustep-gui/PKGBUILD11
-rw-r--r--community/gnustep-gui/giflib-5.0.patch21
2 files changed, 28 insertions, 4 deletions
diff --git a/community/gnustep-gui/PKGBUILD b/community/gnustep-gui/PKGBUILD
index e1b86356e..cc5da7906 100644
--- a/community/gnustep-gui/PKGBUILD
+++ b/community/gnustep-gui/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 90156 2013-05-07 13:34:32Z spupykin $
+# $Id: PKGBUILD 94925 2013-08-01 07:01:18Z bpiotrowski $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
# Contributor: Sebastian Sareyko <public@nooms.de>
pkgname=gnustep-gui
pkgver=0.23.1
-pkgrel=1
+pkgrel=2
pkgdesc="The GNUstep GUI class library"
arch=('i686' 'x86_64')
url="http://www.gnustep.org/"
@@ -15,8 +15,10 @@ makedepends=('gcc-objc' 'gnustep-base' 'gnustep-make')
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 @@ build() {
./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
}
diff --git a/community/gnustep-gui/giflib-5.0.patch b/community/gnustep-gui/giflib-5.0.patch
new file mode 100644
index 000000000..3d8a32d27
--- /dev/null
+++ b/community/gnustep-gui/giflib-5.0.patch
@@ -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