diff options
author | Brenton Earl <brent@exitstatusone.com> | 2018-10-17 23:22:04 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-10-17 23:22:04 +0700 |
commit | 105f17350a1f47e0d1993a22f7c12cd12b2a41ca (patch) | |
tree | f4b68385af4df98ca565542bb617c2852c15b646 /network/driftnet/0001-Add-support-for-giflib-5.patch | |
parent | f8c87a4c555caac23b6690145bb7ef8d9ab783c0 (diff) | |
download | slackbuilds-105f17350a1f47e0d1993a22f7c12cd12b2a41ca.tar.gz |
network/driftnet: Updated for version 1.2.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/driftnet/0001-Add-support-for-giflib-5.patch')
-rw-r--r-- | network/driftnet/0001-Add-support-for-giflib-5.patch | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/network/driftnet/0001-Add-support-for-giflib-5.patch b/network/driftnet/0001-Add-support-for-giflib-5.patch deleted file mode 100644 index 7851b4e7b4..0000000000 --- a/network/driftnet/0001-Add-support-for-giflib-5.patch +++ /dev/null @@ -1,45 +0,0 @@ -Fixes this issue not yet released: -https://github.com/deiv/driftnet/issues/9 - -From d4b1f2522b39d70889084fa6b0968d3a68a206fb Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?David=20Su=C3=A1rez?= <david.sephirot@gmail.com> -Date: Tue, 26 Jan 2016 20:20:20 +0100 -Subject: [PATCH] Add support for "giflib 5" - -Thanks to Mathias Klose. ---- - src/display/gif.c | 10 +++++++++- - 1 file changed, 9 insertions(+), 1 deletion(-) - -diff --git a/src/display/gif.c b/src/display/gif.c -index ebe1db5..a86c78d 100644 ---- a/src/display/gif.c -+++ b/src/display/gif.c -@@ -47,7 +47,11 @@ int gif_load_hdr(img I) { - * Abort loading a GIF file after the header is done. - */ - int gif_abort_load(img I) { -+#if defined GIFLIB_MAJOR && GIFLIB_MAJOR >= 5 -+ DGifCloseFile((GifFileType*)I->us, NULL); -+#else - DGifCloseFile((GifFileType*)I->us); -+#endif - return 1; - } - -@@ -125,7 +129,11 @@ int gif_load_img(img I) { - ret = 1; - fail: - -- DGifCloseFile(g); -+#if defined GIFLIB_MAJOR && GIFLIB_MAJOR >= 5 -+ DGifCloseFile(g, NULL); -+#else -+ DGifCloseFile(g, NULL); -+#endif - - return ret; - } --- -2.9.0 - |