qdirstat: update to 1.5.

This commit is contained in:
maxice8 2018-11-08 12:18:53 -02:00 committed by maxice8
parent 029cbdb843
commit 48a78d0cba
2 changed files with 20 additions and 2 deletions

View File

@ -0,0 +1,18 @@
ALLPERMS isn't specified in POSIX so musl doesn't define it
diff --git a/src/FileInfo.cpp b/src/FileInfo.cpp
index 5cc198c..197d40c 100644
--- src/FileInfo.cpp
+++ src/FileInfo.cpp
@@ -21,6 +21,10 @@
#include "Logger.h"
#include "Exception.h"
+#ifndef ALLPERMS
+# define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)
+#endif
+
// Some file systems (NTFS seems to be among them) may handle block fragments
// well. Don't report files as "sparse" files if the block size is only a few
// bytes less than the byte size - it may be due to intelligent fragment

View File

@ -1,6 +1,6 @@
# Template file for 'qdirstat'
pkgname=qdirstat
version=1.4
version=1.5
revision=1
build_style=qmake
hostmakedepends="qt5-qmake"
@ -10,7 +10,7 @@ maintainer="lemmi <lemmi@nerd2nerd.org>"
license="GPL-2"
homepage="https://github.com/shundhammer/qdirstat"
distfiles="https://github.com/shundhammer/qdirstat/archive/${version}.tar.gz"
checksum=7f9a0a7304c55ebfad1e50c7747ba762b07068f48304b3d3919bdb65ee037999
checksum=5de21fb1ccc9f4df29b2969aa652237b4430e2cfbe37f6eda088482ed44bdbf5
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel"