k3b: update to 18.04.2.

fix musl build
This commit is contained in:
Johannes Brechtmann 2018-07-10 21:17:51 +02:00 committed by Enno Boland
parent a383233e6c
commit cb9153d014
2 changed files with 21 additions and 8 deletions

View File

@ -9,3 +9,21 @@
#include <fstab.h>
#endif
#include <unistd.h>
@@ -394,7 +394,7 @@
dvd_r_dl = true;
}
-#ifndef Q_OS_WIN32
+#ifdef __GLIBC__
// check automounted devices
QList<K3b::Device::Device*> automountedDevices = checkForAutomounting();
for( QList<K3b::Device::Device *>::const_iterator it = automountedDevices.constBegin();
@@ -681,7 +681,7 @@
}
-#ifndef Q_OS_WIN32
+#ifdef __GLIBC__
QList<K3b::Device::Device*> K3b::SystemProblemDialog::checkForAutomounting()
{
QList<K3b::Device::Device *> l;

View File

@ -1,7 +1,7 @@
# Template file for 'k3b'
pkgname=k3b
version=18.04.1
revision=2
version=18.04.2
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules pkg-config qt5-qmake"
makedepends="kcmutils-devel kfilemetadata5-devel knewstuff-devel
@ -14,10 +14,5 @@ maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-2.0-or-later"
homepage="https://github.com/KDE/k3b"
distfiles="https://github.com/KDE/k3b/archive/v${version}.tar.gz"
checksum=46e49323a8e6f2273fa2a2eae952d8be426ebb2c2c76f5011dfab3e004369899
checksum=66f92df41b145c5da58e3278e687947f409a658582a469f921f98279d500fe69
case "$XBPS_TARGET_MACHINE" in
*-musl)
# missing fstab.h
broken="https://build.voidlinux.eu/builders/x86_64-musl_builder/builds/6208/steps/shell_3/logs/stdio" ;;
esac