freebsd-ports/biology/ugene/files/patch-src_plugins__checker_src_Main.cpp
Alexey Dokuchaev 66ab33fca6 Update to version 1.22.0, which now unfortunately requires Qt 5.x. Also
since around v1.18.0, UGENE is using Google's Breakpad library for crash
reporting, which is very system-specific and does not support FreeBSD at
the moment.  Due to lack of resources and interest in porting it, simply
disable crash reporting code for the time being.
2016-04-14 04:07:44 +00:00

31 lines
858 B
C++

--- src/plugins_checker/src/Main.cpp.orig 2016-03-31 12:22:09 UTC
+++ src/plugins_checker/src/Main.cpp
@@ -39,7 +39,7 @@
#include <ServiceRegistryImpl.h>
#include <SettingsImpl.h>
#include <TaskSchedulerImpl.h>
-#include <crash_handler/CrashHandler.h>
+//#include <crash_handler/CrashHandler.h>
#define TR_SETTINGS_ROOT QString("test_runner/")
@@ -55,8 +55,10 @@ static void registerCoreServices() {
int main(int argc, char **argv)
{
+#if 0
CrashHandler::setupHandler();
CrashHandler::setSendCrashReports(false);
+#endif
const char* build = QT_VERSION_STR, *runtime = qVersion();
if (strcmp(build, runtime) > 0){
@@ -140,7 +142,7 @@ int main(int argc, char **argv)
delete cmdLineRegistry;
appContext->setCMDLineRegistry(NULL);
- CrashHandler::shutdown();
+ //CrashHandler::shutdown();
return rc;
}