From f2ca0dc8a3bd231696c25725e12b981d3d98b1fc Mon Sep 17 00:00:00 2001 From: John Date: Fri, 13 Sep 2019 22:34:24 +0300 Subject: [PATCH] MEGAsync: update to 4.2.4.0. --- srcpkgs/MEGAsync/patches/breakpad.patch | 16 ++++++++++++++++ srcpkgs/MEGAsync/template | 12 ++++++------ 2 files changed, 22 insertions(+), 6 deletions(-) create mode 100644 srcpkgs/MEGAsync/patches/breakpad.patch diff --git a/srcpkgs/MEGAsync/patches/breakpad.patch b/srcpkgs/MEGAsync/patches/breakpad.patch new file mode 100644 index 00000000000..36495af4460 --- /dev/null +++ b/srcpkgs/MEGAsync/patches/breakpad.patch @@ -0,0 +1,16 @@ +--- src/MEGASync/google_breakpad/client/linux/handler/exception_handler.cc 2019-09-13 22:27:23.351723073 +0300 ++++ - 2019-09-13 22:33:08.244312688 +0300 +@@ -104,11 +104,13 @@ + #define PR_SET_PTRACER 0x59616d61 + #endif + ++#if defined(__GLIBC__) && __GLIBC__ < 2 && __GLIBC_MINOR__ < 30 + // A wrapper for the tgkill syscall: send a signal to a specific thread. + static int tgkill(pid_t tgid, pid_t tid, int sig) { + return syscall(__NR_tgkill, tgid, tid, sig); + return 0; + } ++#endif + + namespace google_breakpad { + diff --git a/srcpkgs/MEGAsync/template b/srcpkgs/MEGAsync/template index 913e8fe7dee..4b66868b06e 100644 --- a/srcpkgs/MEGAsync/template +++ b/srcpkgs/MEGAsync/template @@ -1,20 +1,20 @@ # Template file for 'MEGAsync' pkgname=MEGAsync -version=4.1.1.0 +version=4.2.4.0 revision=1 -wrksrc="${pkgname}-${version}_Linux" +wrksrc="${pkgname}-${version}_Win" build_wrksrc=src build_style=qmake -configure_args='"CONFIG-=with_tools"' +configure_args='"CONFIG+=FULLREQUIREMENTS"' hostmakedepends="libtool qt5-qmake qt5-host-tools" makedepends="qt5-tools-devel qt5-devel qt5-svg-devel MEGAsdk-devel MEGAsdk-qt libraw-devel libgomp-devel" short_desc="Automated syncing with MEGA Cloud Drive" maintainer="John " -license="custom" +license="custom: Proprietary" homepage="https://mega.co.nz" -distfiles="https://github.com/meganz/MEGAsync/archive/v${version}_Linux.tar.gz" -checksum=5f43a3f402c10519e2f59c8c2a70c55affd3eb1a323767127929fb5f4baa429c +distfiles="https://github.com/meganz/MEGAsync/archive/v${version}_Win.tar.gz" +checksum=5fd90c93677085a2f73faa6a5a3548fcd29fc9f3203f6ddbcac7f170b580f239 restricted=yes nocross=yes