diff --git a/srcpkgs/actiona/patches/bytearray-constdata.patch b/srcpkgs/actiona/patches/bytearray-constdata.patch new file mode 100644 index 00000000000..0432bea0ce5 --- /dev/null +++ b/srcpkgs/actiona/patches/bytearray-constdata.patch @@ -0,0 +1,20 @@ +--- actions/actionpacksystem/systeminfo/linux/qstorageinfo_linux.cpp 2018-07-17 20:29:12.000000000 +0200 ++++ actions/actionpacksystem/systeminfo/linux/qstorageinfo_linux.cpp 2018-07-28 13:26:14.340872982 +0200 +@@ -98,7 +98,7 @@ + } + #else + struct statfs statistics; +- if (statfs(drive.toLatin1(), &statistics) == 0) { ++ if (statfs(drive.toLatin1().constData(), &statistics) == 0) { + qlonglong blockSize = statistics.f_bsize; + qlonglong availBlocks = statistics.f_bavail; + return availBlocks * blockSize; +@@ -118,7 +118,7 @@ + } + #else + struct statfs statistics; +- if (statfs(drive.toLatin1(), &statistics) == 0) { ++ if (statfs(drive.toLatin1().constData(), &statistics) == 0) { + qlonglong blockSize = statistics.f_bsize; + qlonglong totalBlocks = statistics.f_blocks; + return totalBlocks * blockSize; diff --git a/srcpkgs/actiona/template b/srcpkgs/actiona/template index 1f90e497483..a43539623f1 100644 --- a/srcpkgs/actiona/template +++ b/srcpkgs/actiona/template @@ -15,10 +15,6 @@ homepage="https://actiona.tools/" distfiles="https://github.com/Jmgr/${pkgname}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz" checksum=7f7a6ecef82ec51fc5d92e41a9d39d1de190135b1fb6293318feb1d88ceb8757 -case "$XBPS_TARGET_MACHINE" in - *-musl) broken="https://build.voidlinux.eu/builders/x86_64-musl_builder/builds/11193/steps/shell_3/logs/stdio" ;; -esac - if [ -n "$CROSS_BUILD" ]; then hostmakedepends+=" qt5-devel qt5-multimedia-devel qt5-script-devel qt5-speech-devel" hostmakedepends+=" qt5-tools-devel qt5-x11extras-devel qt5-xmlpatterns-devel"