pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/gnash Fixes build with GIFLIB-5.0 and later.
details: https://anonhg.NetBSD.org/pkgsrc/rev/712127d2b7c4
branches: trunk
changeset: 621644:712127d2b7c4
user: obache <obache%pkgsrc.org@localhost>
date: Sun Jul 14 02:32:34 2013 +0000
description:
Fixes build with GIFLIB-5.0 and later.
diffstat:
multimedia/gnash/distinfo | 3 +-
multimedia/gnash/patches/patch-libbase_GnashImageGif.cpp | 19 ++++++++++++++++
2 files changed, 21 insertions(+), 1 deletions(-)
diffs (39 lines):
diff -r 9e15bbab221c -r 712127d2b7c4 multimedia/gnash/distinfo
--- a/multimedia/gnash/distinfo Sun Jul 14 02:32:23 2013 +0000
+++ b/multimedia/gnash/distinfo Sun Jul 14 02:32:34 2013 +0000
@@ -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 -r 9e15bbab221c -r 712127d2b7c4 multimedia/gnash/patches/patch-libbase_GnashImageGif.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/gnash/patches/patch-libbase_GnashImageGif.cpp Sun Jul 14 02:32:34 2013 +0000
@@ -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;
+
Home |
Main Index |
Thread Index |
Old Index