net-libs/libmicrodns: remove unused patch(es)
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Wed, 15 Apr 2020 16:20:02 +0000 (18:20 +0200)
committerAdam Feldman <NP-Hardass@gentoo.org>
Wed, 15 Apr 2020 23:55:43 +0000 (19:55 -0400)
Package-Manager: Portage-2.3.98, Repoman-2.3.22
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/15357
Signed-off-by: Adam Feldman <NP-Hardass@gentoo.org>
net-libs/libmicrodns/files/libmicrodns-0.0.9-null-addr-fix.patch [deleted file]

diff --git a/net-libs/libmicrodns/files/libmicrodns-0.0.9-null-addr-fix.patch b/net-libs/libmicrodns/files/libmicrodns-0.0.9-null-addr-fix.patch
deleted file mode 100644 (file)
index e2bb711..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-From efdf2754f9f8b801048b8fdae2b269f091128193 Mon Sep 17 00:00:00 2001
-From: Jean-Baptiste Kempf <jb@videolan.org>
-Date: Thu, 1 Mar 2018 02:58:13 +0100
-Subject: [PATCH] Fix more of the same crash
-
----
- src/mdns.c | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/src/mdns.c b/src/mdns.c
-index 132beef..55c5cb4 100644
---- a/src/mdns.c
-+++ b/src/mdns.c
-@@ -117,7 +117,9 @@ mdns_list_interfaces(multicast_if** pp_intfs, size_t* p_nb_intf, int ai_family)
-                 return (MDNS_ERROR);
-         }
-         for (c = ifs; c != NULL; c = c->ifa_next) {
--                if (c->ifa_addr->sa_family != ai_family || !mdns_is_interface_valuable(c))
-+                if (c->ifa_addr == NULL ||
-+                    c->ifa_addr->sa_family != ai_family ||
-+                    !mdns_is_interface_valuable(c))
-                         continue;
-                 memcpy(intfs, c->ifa_addr, sizeof(*intfs));
-                 intfs++;