diff options
author | obache <obache@pkgsrc.org> | 2013-07-14 02:32:34 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2013-07-14 02:32:34 +0000 |
commit | 96fbf89ce5820b2d222a307e55dfb41534999dd7 (patch) | |
tree | 1256292164181d8e4d01cc40262c2993c7b8d16f /multimedia/gnash | |
parent | f2c5c62b6b9de4c835e28963cb8247c16b158f64 (diff) | |
download | pkgsrc-96fbf89ce5820b2d222a307e55dfb41534999dd7.tar.gz |
Fixes build with GIFLIB-5.0 and later.
Diffstat (limited to 'multimedia/gnash')
-rw-r--r-- | multimedia/gnash/distinfo | 3 | ||||
-rw-r--r-- | multimedia/gnash/patches/patch-libbase_GnashImageGif.cpp | 19 |
2 files changed, 21 insertions, 1 deletions
diff --git a/multimedia/gnash/distinfo b/multimedia/gnash/distinfo index 4d9ab84a03c..2fe5369cfbe 100644 --- a/multimedia/gnash/distinfo +++ b/multimedia/gnash/distinfo @@ -1,10 +1,11 @@ -$NetBSD: distinfo,v 1.20 2013/02/26 11:04:25 joerg Exp $ +$NetBSD: distinfo,v 1.21 2013/07/14 02:32:34 obache Exp $ SHA1 (gnash-0.8.10.tar.bz2) = be3b12a5edcd3b05f2ae73d02f0991aa786e7300 RMD160 (gnash-0.8.10.tar.bz2) = 0093174ec0a912309772c033b5f1c1ad46ab41dc Size (gnash-0.8.10.tar.bz2) = 4238106 bytes SHA1 (patch-aa) = 5e3cfa0c21f6bd9ad01ce4c9f68f245316d063a3 SHA1 (patch-ae) = ca44e2559a1ce0a24baf6d5479636f967e011202 +SHA1 (patch-libbase_GnashImageGif.cpp) = e08a9657269ac7f37ad892a003ac9025deda6c9f SHA1 (patch-libbase_GnashSleep.h) = f713b29feb0153efa24c10df20e0ac8342b88265 SHA1 (patch-libbase_Makefile.in) = c5b6533f5ac2b2ee26d0547c3054375e72512ccf SHA1 (patch-libbase_rc.cpp) = 2df75034a7f195864931504041ad956142495313 diff --git a/multimedia/gnash/patches/patch-libbase_GnashImageGif.cpp b/multimedia/gnash/patches/patch-libbase_GnashImageGif.cpp new file mode 100644 index 00000000000..279b58724e6 --- /dev/null +++ b/multimedia/gnash/patches/patch-libbase_GnashImageGif.cpp @@ -0,0 +1,19 @@ +$NetBSD: patch-libbase_GnashImageGif.cpp,v 1.1 2013/07/14 02:32:34 obache Exp $ + +* for giflib-5.0 API changes + https://savannah.gnu.org/bugs/index.php?39482 + +--- libbase/GnashImageGif.cpp.orig 2012-01-19 19:17:48.000000000 +0000 ++++ libbase/GnashImageGif.cpp +@@ -269,7 +269,11 @@ GifInput::processRecord(GifRecordType re + void + GifInput::read() + { ++#if GIFLIB_MAJOR >= 5 ++ _gif = DGifOpen(_inStream.get(), &readData, NULL); ++#else + _gif = DGifOpen(_inStream.get(), &readData); ++#endif + + GifRecordType record; + |