summaryrefslogtreecommitdiff
path: root/community/gnash
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/gnash
parent70ec180b1cca6eda5576597c2bfff9171f7815bf (diff)
Fri Aug 2 01:30:56 PDT 2013
Diffstat (limited to 'community/gnash')
-rw-r--r--community/gnash/PKGBUILD11
-rw-r--r--community/gnash/gnucash-0.8.10-giflib-5.0.patch12
2 files changed, 19 insertions, 4 deletions
diff --git a/community/gnash/PKGBUILD b/community/gnash/PKGBUILD
index 64dcfe793..ef6c7f497 100644
--- a/community/gnash/PKGBUILD
+++ b/community/gnash/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 94025 2013-07-13 12:32:36Z svenstaro $
+# $Id: PKGBUILD 94924 2013-08-01 07:01:17Z bpiotrowski $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
pkgbase=gnash
pkgname=(gnash-common gnash-gtk)
pkgver=0.8.10
-pkgrel=9
+pkgrel=10
arch=(i686 x86_64)
url="http://www.gnu.org/software/gnash/"
license=(GPL3)
@@ -15,10 +15,11 @@ makedepends=(curl giflib libldap sdl agg libjpeg libpng libtool mesa glu
pkgconfig boost)
options=(!libtool !emptydirs)
source=(http://ftp.gnu.org/gnu/gnash/${pkgver}/gnash-${pkgver}.tar.bz2
- nodebug.patch gnash-0.8.10-boost-1.50.patch)
+ nodebug.patch gnash-0.8.10-boost-1.50.patch gnucash-0.8.10-giflib-5.0.patch)
sha256sums=('9625072e45df92baa2c28fc9999d4e2deb66bc827530baedfad2e4e2292d1224'
'0ebb104a7632af997c7e6b268755949fa0c1eea5e32015b95a22d63d0e431551'
- 'ac3e7dbcb2ea30b8a263168462e739aa07706e0e3cdc672410a42a4357dbf54c')
+ 'ac3e7dbcb2ea30b8a263168462e739aa07706e0e3cdc672410a42a4357dbf54c'
+ 'd1597ce496d95913a7d5873a0a3c58e4f40fa4ec6e3fc7ae939a66f1362b3e57')
build() {
cd gnash-$pkgver
@@ -29,6 +30,8 @@ build() {
# Link to libboost_system.so
patch -Np1 -i ../gnash-0.8.10-boost-1.50.patch
+ patch -Np1 -i ../gnucash-0.8.10-giflib-5.0.patch
+
./autogen.sh
./configure \
--prefix=/usr \
diff --git a/community/gnash/gnucash-0.8.10-giflib-5.0.patch b/community/gnash/gnucash-0.8.10-giflib-5.0.patch
new file mode 100644
index 000000000..2ca7032bb
--- /dev/null
+++ b/community/gnash/gnucash-0.8.10-giflib-5.0.patch
@@ -0,0 +1,12 @@
+diff -rupN a/libbase/GnashImageGif.cpp b/libbase/GnashImageGif.cpp
+--- a/libbase/GnashImageGif.cpp 2012-01-19 19:17:48.000000000 +0000
++++ b/libbase/GnashImageGif.cpp 2013-07-30 09:08:37.707930583 +0000
+@@ -269,7 +269,7 @@ GifInput::processRecord(GifRecordType re
+ void
+ GifInput::read()
+ {
+- _gif = DGifOpen(_inStream.get(), &readData);
++ _gif = DGifOpen(_inStream.get(), &readData, NULL);
+
+ GifRecordType record;
+