summaryrefslogtreecommitdiff
path: root/x11/qt5-qtbase/patches/patch-qtbase_src_network_kernel_qhostinfo__unix.cpp
blob: 7b5f9304c575a454fadfb95af8c839b6e7c4ad21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-qtbase_src_network_kernel_qhostinfo__unix.cpp,v 1.1 2013/12/13 14:38:35 ryoon Exp $

--- qtbase/src/network/kernel/qhostinfo_unix.cpp.orig	2013-11-27 01:01:10.000000000 +0000
+++ qtbase/src/network/kernel/qhostinfo_unix.cpp
@@ -126,6 +126,8 @@ static void resolveLibrary()
         if (!local_res_nclose)
             local_res_ninit = 0;
     }
+    if (local_res_ninit)
+        local_res_init = 0;
 #endif
 }