void-packages/srcpkgs/filelight/patches/musl.patch

27 lines
625 B
Diff

--- a/src/posixWalker.cpp 2022-05-09 04:52:35.000000000 +0200
+++ - 2022-05-15 17:20:54.296063960 +0200
@@ -3,6 +3,10 @@
#include "posixWalker.h"
+#ifndef S_BLKSIZE
+#define S_BLKSIZE 512
+#endif
+
static void outputError(const QByteArray &path)
{
/// show error message that stat or opendir may give
--- a/autotests/directoryIteratorTest.cpp 2022-05-09 04:52:35.000000000 +0200
+++ - 2022-05-15 17:21:05.992082135 +0200
@@ -8,6 +8,10 @@
#include "directoryIterator.h"
#include "test-config.h"
+#ifndef S_BLKSIZE
+#define S_BLKSIZE 512
+#endif
+
class DirectoryIteratorTest : public QObject
{
Q_OBJECT