diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-06-30 08:49:38 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-06-30 08:49:38 +0100 |
commit | b2be182d49eea46686b5cf2680d457df61e89dc4 (patch) | |
tree | c66442ced2011c5ca81c3114cc51041e314c6d33 /media-tv/kodi/files/kodi-17.6-nmblookup.patch | |
parent | e23cdda4dbb0c83b9e682ab5e916085a35203da5 (diff) |
gentoo resync : 30.06.2018
Diffstat (limited to 'media-tv/kodi/files/kodi-17.6-nmblookup.patch')
-rw-r--r-- | media-tv/kodi/files/kodi-17.6-nmblookup.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/media-tv/kodi/files/kodi-17.6-nmblookup.patch b/media-tv/kodi/files/kodi-17.6-nmblookup.patch new file mode 100644 index 000000000000..29737f980ec1 --- /dev/null +++ b/media-tv/kodi/files/kodi-17.6-nmblookup.patch @@ -0,0 +1,25 @@ +From ba2cb820f32994482a1918bd16bd0a548bb394ac Mon Sep 17 00:00:00 2001 +From: Craig Andrews <candrews@integralblue.com> +Date: Tue, 12 Jun 2018 12:28:41 -0400 +Subject: [PATCH] [dns-cache] Only use nmblookup if HAS_FILESYSTEM_SMB + +nmblookup is part of SmbClient so only use it if SmbClient is present. + +Fixes https://trac.kodi.tv/ticket/17916 +--- + xbmc/network/DNSNameCache.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/xbmc/network/DNSNameCache.cpp b/xbmc/network/DNSNameCache.cpp +index e993c536bf41..b30c60baf738 100644 +--- a/xbmc/network/DNSNameCache.cpp ++++ b/xbmc/network/DNSNameCache.cpp +@@ -54,7 +54,7 @@ bool CDNSNameCache::Lookup(const std::string& strHostName, std::string& strIpAdd + if(g_DNSCache.GetCached(strHostName, strIpAddress)) + return true; + +-#ifndef TARGET_WINDOWS ++#if !defined(TARGET_WINDOWS) && defined(HAS_FILESYSTEM_SMB) + // perform netbios lookup (win32 is handling this via gethostbyname) + char nmb_ip[100]; + char line[200]; |