pkgsrc/net/mDNSResponder/patches/patch-af
jperkin af6678410a Use -install_name on OSX to fix installed dylib.
Bump PKGREVISION as package built before the Mach-O shlibs checks were
introduced, but the PROVIDES were incorrect.
2015-08-29 17:41:07 +00:00

17 lines
535 B
Text

$NetBSD: patch-af,v 1.2 2015/08/29 17:41:07 jperkin Exp $
mDNSPlatformSetAllowSleep only defined for Mac OS X.
--- mDNSCore/mDNS.c.orig 2010-11-18 01:05:40.000000000 +0000
+++ mDNSCore/mDNS.c
@@ -4020,8 +4020,10 @@ mDNSexport void mDNS_UpdateAllowSleep(mD
#endif /* !defined(IDLESLEEPCONTROL_DISABLED) */
}
+#if 0
// Call the platform code to enable/disable sleep
mDNSPlatformSetAllowSleep(m, allowSleep);
+#endif
}
mDNSlocal void SendSPSRegistration(mDNS *const m, NetworkInterfaceInfo *intf, const mDNSOpaque16 id)