diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2021-01-26 08:10:43 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-01-26 15:54:15 +0000 |
commit | ece8faec4e9702e715350e030f35ede2381b5312 (patch) | |
tree | a8c8768e7edb73e3502c9f914cb2307e29fa4f2b /net-analyzer | |
parent | net-libs/libwebsockets: remove unused patch(es) (diff) | |
download | gentoo-ece8faec4e9702e715350e030f35ede2381b5312.tar.gz gentoo-ece8faec4e9702e715350e030f35ede2381b5312.tar.bz2 gentoo-ece8faec4e9702e715350e030f35ede2381b5312.zip |
net-analyzer/driftnet: remove unused patch
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/19223
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/driftnet/files/driftnet-0.1.6-giflib-5.patch | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/net-analyzer/driftnet/files/driftnet-0.1.6-giflib-5.patch b/net-analyzer/driftnet/files/driftnet-0.1.6-giflib-5.patch deleted file mode 100644 index 30ad62c38f47..000000000000 --- a/net-analyzer/driftnet/files/driftnet-0.1.6-giflib-5.patch +++ /dev/null @@ -1,50 +0,0 @@ ---- a/gif.c -+++ b/gif.c -@@ -20,7 +20,12 @@ - */ - int gif_load_hdr(img I) { - GifFileType *g; -+#if GIFLIB_MAJOR > 4 -+ int *GifError = NULL; -+ g = I->us = DGifOpenFileHandle(fileno(I->fp), GifError); -+#else - g = I->us = DGifOpenFileHandle(fileno(I->fp)); -+#endif /* GIFLIB_MAJOR */ - if (!I->us) { - I->err = IE_HDRFORMAT; - return 0; -@@ -36,7 +41,12 @@ - * Abort loading a GIF file after the header is done. - */ - int gif_abort_load(img I) { -+#if GIFLIB_MAJOR > 4 -+ int *GifError = NULL; -+ DGifCloseFile((GifFileType*)I->us, GifError); -+#else - DGifCloseFile((GifFileType*)I->us); -+#endif /* GIFLIB_MAJOR */ - return 1; - } - -@@ -44,6 +54,9 @@ - * Load GIF image. - */ - int gif_load_img(img I) { -+#if GIFLIB_MAJOR > 4 -+ int *GifError = NULL; -+#endif /* GIFLIB_MAJOR */ - GifFileType *g = I->us; - struct SavedImage *si; - int ret = 0; -@@ -114,7 +127,11 @@ - ret = 1; - fail: - -+#if GIFLIB_MAJOR > 4 -+ DGifCloseFile(g, GifError); -+#else - DGifCloseFile(g); -+#endif /* GIFLIB_MAJOR */ - - return ret; - } |