openbsd-ports/net/amule/patches/patch-src_amule_cpp
dcoppa 3e605c7c6f Finally a new release!
Update to amule-2.3.2
2016-09-19 14:06:53 +00:00

23 lines
666 B
Plaintext

$OpenBSD: patch-src_amule_cpp,v 1.7 2016/09/19 14:06:53 dcoppa Exp $
Disable checking for new versions at startup.
--- src/amule.cpp.orig Fri Sep 16 09:55:07 2016
+++ src/amule.cpp Sun Sep 18 15:31:21 2016
@@ -527,6 +527,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.
@@ -536,6 +537,7 @@ bool CamuleApp::OnInit()
version_check->Create();
version_check->Run();
}
+#endif
// Create main dialog, or fork to background (daemon).
InitGui(m_geometryEnabled, m_geometryString);