mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-03 03:13:03 +02:00
qdirstat: update to 1.5.
This commit is contained in:
parent
029cbdb843
commit
48a78d0cba
2 changed files with 20 additions and 2 deletions
18
srcpkgs/qdirstat/patches/fix-allperms-musl.patch
Normal file
18
srcpkgs/qdirstat/patches/fix-allperms-musl.patch
Normal 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
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'qdirstat'
|
# Template file for 'qdirstat'
|
||||||
pkgname=qdirstat
|
pkgname=qdirstat
|
||||||
version=1.4
|
version=1.5
|
||||||
revision=1
|
revision=1
|
||||||
build_style=qmake
|
build_style=qmake
|
||||||
hostmakedepends="qt5-qmake"
|
hostmakedepends="qt5-qmake"
|
||||||
|
@ -10,7 +10,7 @@ maintainer="lemmi <lemmi@nerd2nerd.org>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="https://github.com/shundhammer/qdirstat"
|
homepage="https://github.com/shundhammer/qdirstat"
|
||||||
distfiles="https://github.com/shundhammer/qdirstat/archive/${version}.tar.gz"
|
distfiles="https://github.com/shundhammer/qdirstat/archive/${version}.tar.gz"
|
||||||
checksum=7f9a0a7304c55ebfad1e50c7747ba762b07068f48304b3d3919bdb65ee037999
|
checksum=5de21fb1ccc9f4df29b2969aa652237b4430e2cfbe37f6eda088482ed44bdbf5
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends+=" qt5-host-tools qt5-devel"
|
hostmakedepends+=" qt5-host-tools qt5-devel"
|
||||||
|
|
Loading…
Add table
Reference in a new issue