ports/net/amule/patches/patch-src_amule_cpp

21 lines
567 B
Text

Disable checking for new versions at startup.
Index: src/amule.cpp
--- src/amule.cpp.orig
+++ src/amule.cpp
@@ -524,6 +524,7 @@ bool CamuleApp::OnInit()
AddLogLineNS(msg);
}
+#ifndef __OPENBSD__
// Test if there's any new version
if (thePrefs::GetCheckNewVersion()) {
// We use the thread base because I don't want a dialog to pop up.
@@ -533,6 +534,7 @@ bool CamuleApp::OnInit()
version_check->Create();
version_check->Run();
}
+#endif
// Create main dialog, or fork to background (daemon).
InitGui(m_geometryEnabled, m_geometryString);