Hi,
This patch s for shutting up update checker in mirall. It's of no use for us.
OK?

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/mirall/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile    3 Oct 2014 09:53:55 -0000       1.3
+++ Makefile    25 Oct 2014 18:05:50 -0000
@@ -3,7 +3,7 @@
 COMMENT =              owncloud sync client

 DISTNAME =             mirall-1.4.2
-REVISION =             1
+REVISION =             2

 SHARED_LIBS =          owncloudsync 0.0

Index: patches/patch-src_mirall_application_cpp
===================================================================
RCS file: /cvs/ports/net/mirall/patches/patch-src_mirall_application_cpp,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-src_mirall_application_cpp
--- patches/patch-src_mirall_application_cpp    24 Jun 2014 09:20:03 -0000      
1.1.1.1
+++ patches/patch-src_mirall_application_cpp    25 Oct 2014 18:05:50 -0000
@@ -1,6 +1,9 @@
 $OpenBSD: patch-src_mirall_application_cpp,v 1.1.1.1 2014/06/24 09:20:03
kirby Exp $
---- src/mirall/application.cpp.orig    Tue Apr 29 15:04:54 2014
-+++ src/mirall/application.cpp Tue Apr 29 15:05:15 2014
+
+Disable update check on statrup.
+
+--- src/mirall/application.cpp.orig    Mon Oct 21 16:05:25 2013
++++ src/mirall/application.cpp Sat Oct 25 21:38:26 2014
 @@ -81,7 +81,7 @@ static const char optionsC[] =

  QString applicationTrPath()
@@ -10,3 +13,14 @@ $OpenBSD: patch-src_mirall_application_c
      return QString::fromLatin1(DATADIR"/"APPLICATION_EXECUTABLE"/i18n/");
  #endif
  #ifdef Q_OS_MAC
+@@ -170,10 +170,6 @@ Application::Application(int &argc, char **argv) :
+
+     // startup procedure.
+     QTimer::singleShot( 0, this, SLOT( slotCheckConnection() ));
+-
+-    if( !cfg.ownCloudSkipUpdateCheck() ) {
+-        QTimer::singleShot( 3000, this, SLOT( slotStartUpdateDetector() ));
+-    }
+
+     connect( ownCloudInfo::instance(), SIGNAL(sslFailed(QNetworkReply*,
QList<QSslError>)),
+              this,SLOT(slotSSLFailed(QNetworkReply*, QList<QSslError>)));

Reply via email to