summaryrefslogtreecommitdiff
path: root/net-analyzer/driftnet
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/driftnet')
-rw-r--r--net-analyzer/driftnet/Manifest1
-rw-r--r--net-analyzer/driftnet/files/driftnet-0.1.6-giflib-5.patch50
2 files changed, 0 insertions, 51 deletions
diff --git a/net-analyzer/driftnet/Manifest b/net-analyzer/driftnet/Manifest
index f6c38d807bd4..01b4336b7808 100644
--- a/net-analyzer/driftnet/Manifest
+++ b/net-analyzer/driftnet/Manifest
@@ -1,4 +1,3 @@
-AUX driftnet-0.1.6-giflib-5.patch 1060 BLAKE2B 6bd972e9c7e66eda935058daf75b5667f93f1a808499023e70087d7dd3a904762cd7139f23338321a0f7292974cd8dd206a97b33e665944fd32c9b14aae3908a SHA512 80dc8c0696f022e9034b01e48017f884f57e0044388cdc4d08c87fbd33bfdc7d3cad0bee332a3b7486cb06b9127469a0c6f088cde6e484d7873f3f59cfb5e97c
AUX driftnet-1.3.0-CFLAGS.patch 451 BLAKE2B 80e4a2dd8afe6b82e95926e28c4c616b04c098c6d7ad637fd4301a9d34b77985c4ad2eead7fbfa9e565ea9983e0afe51312b756f9917260aeac5b366c7bb1af2 SHA512 2b0e50e2db056247ed83b2a8bef3116a8f9880f8539a33b4a696f312c5872098ac50c20f5a3de8ba07dffb935d450ea55ed3d1f291752de45983b85a62f55c04
AUX driftnet-1.3.0-gtk.patch 298 BLAKE2B 1ccfbe96a69e21f18fa55535996704bd441247f9b109ddc2afd8c826102a0c3a246115c5178276f770b668ca1d8e191fe46858715987fe72f84b20a24f9be1ab SHA512 a43a926d5c289c75b7e942be6d1226a939e0e22e6da8640ebfa2ffd3d08c34fe3dfa525c425831d200bd5e536c73fec02c2c48fd0a6bfaf64f9cb92c9e62b95b
DIST driftnet-1.3.0.tar.gz 4971618 BLAKE2B 1cf0a46caac2267c093bf21a0d8e150518dbfe0e76acbe21ef87cd760ccbe964313116ee24d25ad7759b3eeba19ef7925200caee4fd06bb28f9836217d889256 SHA512 45f1016a850cf9e5e294756e47e40eccb13f57a316ae7fa885eac2d5e53f68b9d9ef86868415eca76b108f7aa1f4080c550a91f789265edb0f6e3a55e05f5f0c
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;
- }