From c093e9108db424939f5159e6968e3b8614da929f Mon Sep 17 00:00:00 2001 From: John Zimmermann Date: Wed, 3 Oct 2018 16:34:53 +0200 Subject: [PATCH] MEGAcmd: update to 1.0.0. --- srcpkgs/MEGAcmd/patches/musl.patch | 13 +++++++++++++ srcpkgs/MEGAcmd/template | 6 +++--- 2 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/MEGAcmd/patches/musl.patch diff --git a/srcpkgs/MEGAcmd/patches/musl.patch b/srcpkgs/MEGAcmd/patches/musl.patch new file mode 100644 index 0000000000..3e0a395fb1 --- /dev/null +++ b/srcpkgs/MEGAcmd/patches/musl.patch @@ -0,0 +1,13 @@ +--- src/configurationmanager.h 2018-10-03 16:27:51.311763612 +0200 ++++ - 2018-10-03 16:29:44.035272722 +0200 +@@ -23,6 +23,10 @@ + #include + #include + ++#ifndef _WIN32 ++#include // LOCK_EX and LOCK_NB ++#endif ++ + #define CONFIGURATIONSTOREDBYVERSION -2 + class ConfigurationManager + { diff --git a/srcpkgs/MEGAcmd/template b/srcpkgs/MEGAcmd/template index 97b924ea8f..5fe66873e9 100644 --- a/srcpkgs/MEGAcmd/template +++ b/srcpkgs/MEGAcmd/template @@ -1,7 +1,7 @@ # Template file for 'MEGAcmd' pkgname=MEGAcmd -version=0.9.9 -revision=2 +version=1.0.0 +revision=1 build_style=gnu-configure make_build_args='LIBTOOLFLAGS="--tag=CXX"' hostmakedepends="autoconf-archive autogen gettext automake libtool pkg-config" @@ -11,7 +11,7 @@ maintainer="John " license="BSD-2-Clause, GPL-3.0-or-later" homepage="https://github.com/meganz/MEGAcmd" distfiles="https://github.com/meganz/MEGAcmd/archive/${version}.tar.gz" -checksum=5ace7c85fa817a357bdb968f32e3839439d3ff4e3066d7db470b4648def11105 +checksum=1200363bee2f387a2287e286b38d15b1a01079967e20b8c489815cc7c8d9ff63 replaces="megacmd>=0" if [ "$CROSS_BUILD" ]; then