commit:     ece8faec4e9702e715350e030f35ede2381b5312
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Tue Jan 26 07:10:43 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jan 26 15:54:15 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ece8faec

net-analyzer/driftnet: remove unused patch

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/19223
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../driftnet/files/driftnet-0.1.6-giflib-5.patch   | 50 ----------------------
 1 file changed, 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 30ad62c38f4..00000000000
--- 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;
- }

Reply via email to