mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
fio: fix build on musl.
This commit is contained in:
parent
02d7571b47
commit
158aef904d
1 changed files with 12 additions and 0 deletions
12
srcpkgs/fio/patches/musl.patch
Normal file
12
srcpkgs/fio/patches/musl.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- a/oslib/linux-blkzoned.c
|
||||
+++ b/oslib/linux-blkzoned.c
|
||||
@@ -25,6 +25,9 @@
|
||||
#ifndef BLKFINISHZONE
|
||||
#define BLKFINISHZONE _IOW(0x12, 136, struct blk_zone_range)
|
||||
#endif
|
||||
+#ifndef FALLOC_FL_ZERO_RANGE
|
||||
+#define FALLOC_FL_ZERO_RANGE 0x10
|
||||
+#endif
|
||||
|
||||
/*
|
||||
* If the uapi headers installed on the system lacks zone capacity support,
|
Loading…
Add table
Reference in a new issue