diff --git a/srcpkgs/qdirstat/patches/fix-allperms-musl.patch b/srcpkgs/qdirstat/patches/fix-allperms-musl.patch index f1f23ee0995..b7ab4bc8b35 100644 --- a/srcpkgs/qdirstat/patches/fix-allperms-musl.patch +++ b/srcpkgs/qdirstat/patches/fix-allperms-musl.patch @@ -1,18 +1,26 @@ -ALLPERMS isn't specified in POSIX so musl doesn't define it +From d802c86efdb754ad226e0ea5ce55029abb800adb Mon Sep 17 00:00:00 2001 +From: lemmi +Date: Wed, 22 Sep 2021 10:01:40 +0200 +Subject: [PATCH] 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 ---- a/src/FileInfo.cpp -+++ b/src/FileInfo.cpp -@@ -24,6 +24,10 @@ - #include "Logger.h" - #include "Exception.h" +--- + src/FormatUtil.h | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/src/FormatUtil.h b/src/FormatUtil.h +index dee739e..a7f6a46 100644 +--- a/src/FormatUtil.h ++++ b/src/FormatUtil.h +@@ -9,6 +9,9 @@ + #ifndef FormatUtil_h + #define FormatUtil_h +#ifndef ALLPERMS -+# define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO) ++#define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO) +#endif -+ - // Some filesystems (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 + + #include + #include +-- +2.33.0 diff --git a/srcpkgs/qdirstat/template b/srcpkgs/qdirstat/template index fa439ddece3..5016c664a01 100644 --- a/srcpkgs/qdirstat/template +++ b/srcpkgs/qdirstat/template @@ -1,7 +1,7 @@ # Template file for 'qdirstat' pkgname=qdirstat version=1.8 -revision=2 +revision=3 build_style=qmake hostmakedepends="qt5-qmake qt5-host-tools" makedepends="zlib-devel qt5-devel"