android-file-transfer-linux: update to 4.0
This commit is contained in:
parent
54c144b60b
commit
50518ee178
2 changed files with 4 additions and 32 deletions
|
@ -1,29 +0,0 @@
|
|||
--- mtp/backend/posix/Exception.cpp 2017-06-23 12:08:10.000000000 +0200
|
||||
+++ mtp/backend/posix/Exception.cpp 2018-03-25 17:53:15.359371456 +0200
|
||||
@@ -35,7 +35,7 @@
|
||||
std::string Exception::GetErrorMessage(int returnCode)
|
||||
{
|
||||
char buf[1024];
|
||||
-#ifdef _GNU_SOURCE
|
||||
+#if defined(_GNU_SOURCE) && defined(__GLIBC__)
|
||||
std::string text(strerror_r(returnCode, buf, sizeof(buf)));
|
||||
#else
|
||||
int r = strerror_r(returnCode, buf, sizeof(buf));
|
||||
@@ -44,4 +44,4 @@
|
||||
return text;
|
||||
}
|
||||
|
||||
-}}
|
||||
\ Kein Zeilenumbruch am Dateiende.
|
||||
+}}
|
||||
--- fuse/Exception.h 2017-06-23 12:08:10.000000000 +0200
|
||||
+++ fuse/Exception.h 2018-03-25 17:57:06.478366801 +0200
|
||||
@@ -36,7 +36,7 @@
|
||||
static std::string GetErrorMessage(int returnCode)
|
||||
{
|
||||
char buf[1024];
|
||||
-#ifdef _GNU_SOURCE
|
||||
+#if defined(_GNU_SOURCE) && defined(__GLIBC__)
|
||||
std::string text(strerror_r(returnCode, buf, sizeof(buf)));
|
||||
#else
|
||||
int r = strerror_r(returnCode, buf, sizeof(buf));
|
|
@ -1,14 +1,15 @@
|
|||
# Template file for 'android-file-transfer-linux'
|
||||
pkgname=android-file-transfer-linux
|
||||
version=3.9
|
||||
version=4.0
|
||||
revision=1
|
||||
build_style=cmake
|
||||
configure_args="-DBUILD_SHARED_LIB=1"
|
||||
hostmakedepends="qt5-qmake qt5-host-tools ninja pkg-config"
|
||||
makedepends="file-devel fuse-devel qt5-devel readline-devel"
|
||||
makedepends="file-devel fuse-devel qt5-devel readline-devel
|
||||
qt5-tools-devel"
|
||||
short_desc="Android File Transfer for Linux"
|
||||
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
|
||||
license="LGPL-2.1-or-later"
|
||||
homepage="https://github.com/whoozle/android-file-transfer-linux"
|
||||
distfiles="https://github.com/whoozle/android-file-transfer-linux/archive/v${version}.tar.gz"
|
||||
checksum=26aa21683ae34aceaf83747fec693a15b996017a857014931ef3c5b50115971a
|
||||
checksum=1923a15f276a730ddb9709de43414766d235f74940429ac314b0c42f47c2c471
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue