mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
mhddfs: fix build
This commit is contained in:
parent
5898422314
commit
02933c934e
1 changed files with 32 additions and 0 deletions
32
srcpkgs/mhddfs/patches/fix-build.patch
Normal file
32
srcpkgs/mhddfs/patches/fix-build.patch
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
commit 54339f12f306f19f7f7cf8a3a774734664c0364d
|
||||||
|
Author: q66 <daniel@octaforge.org>
|
||||||
|
Date: Wed Jan 1 22:42:38 2020 +0100
|
||||||
|
|
||||||
|
fix build
|
||||||
|
|
||||||
|
diff --git src/main.c src/main.c
|
||||||
|
index 6dc3230..1dfb3ef 100644
|
||||||
|
--- src/main.c
|
||||||
|
+++ src/main.c
|
||||||
|
@@ -34,7 +34,7 @@
|
||||||
|
#include <utime.h>
|
||||||
|
|
||||||
|
#ifndef WITHOUT_XATTR
|
||||||
|
-#include <attr/xattr.h>
|
||||||
|
+#include <sys/xattr.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "parse_options.h"
|
||||||
|
diff --git src/tools.c src/tools.c
|
||||||
|
index c427b82..69747a8 100644
|
||||||
|
--- src/tools.c
|
||||||
|
+++ src/tools.c
|
||||||
|
@@ -32,7 +32,7 @@
|
||||||
|
#include <dirent.h>
|
||||||
|
|
||||||
|
#ifndef WITHOUT_XATTR
|
||||||
|
-#include <attr/xattr.h>
|
||||||
|
+#include <sys/xattr.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "tools.h"
|
Loading…
Add table
Reference in a new issue