diff options
author | Matteo Bernardini | 2019-09-14 07:57:43 +0200 |
---|---|---|
committer | Matteo Bernardini | 2019-09-14 07:57:43 +0200 |
commit | de40343a1db85e9c173db1c195923e0157d93cfe (patch) | |
tree | 72c35cdc13e9823bcfb4d26866f4b97b1440420b /multimedia/gnash/patch/cc22f2d0597f3a9547980f4786d918f8b5635472.patch | |
parent | 50b7e832ae3d4c1f51d3d0e93ab9face1a8d036d (diff) | |
download | slackbuilds-current-20190914.1.tar.gz |
20190914.1 global branch merge.current-20190914.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'multimedia/gnash/patch/cc22f2d0597f3a9547980f4786d918f8b5635472.patch')
-rw-r--r-- | multimedia/gnash/patch/cc22f2d0597f3a9547980f4786d918f8b5635472.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/multimedia/gnash/patch/cc22f2d0597f3a9547980f4786d918f8b5635472.patch b/multimedia/gnash/patch/cc22f2d0597f3a9547980f4786d918f8b5635472.patch deleted file mode 100644 index 6e90737d51..0000000000 --- a/multimedia/gnash/patch/cc22f2d0597f3a9547980f4786d918f8b5635472.patch +++ /dev/null @@ -1,31 +0,0 @@ -From cc22f2d0597f3a9547980f4786d918f8b5635472 Mon Sep 17 00:00:00 2001 -From: OBATA Akio <obata@lins.jp> -Date: Mon, 15 Jul 2013 07:16:39 +0000 -Subject: Add support fir GIFLIB-5.0 (bug #39482) - -Signed-off-by: Sandro Santilli <strk@keybit.net> ---- -diff --git a/libbase/GnashImageGif.cpp b/libbase/GnashImageGif.cpp -index eeba4b7..26865c1 100644 ---- a/libbase/GnashImageGif.cpp -+++ b/libbase/GnashImageGif.cpp -@@ -269,7 +269,17 @@ GifInput::processRecord(GifRecordType record) - void - GifInput::read() - { -+#if GIFLIB_MAJOR >= 5 -+ int errorCode; -+ _gif = DGifOpen(_inStream.get(), &readData, &errorCode); -+#else - _gif = DGifOpen(_inStream.get(), &readData); -+#endif -+ -+ if ( ! _gif ) { -+ // TODO: decode errorCode if available -+ throw ParserException("Could not open input GIF stream"); -+ } - - GifRecordType record; - --- -cgit v0.9.0.2 |