Skip to content

Commit

Permalink
musl:add patch for 0 largefile on x86_64
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolo committed May 10, 2021
1 parent c113269 commit f5453b6
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions srcpkgs/musl/patches/fix_missing_O_LARGEFILE_values.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
taken from git.musl-libc.org/cgit/musl/commit/?id=b8b729bd22c28c9116c2fce65dce207a35299c26

arch/x86_64/bits/fcntl.h
arch/x86_64/bits/fcntl.h
index 1b88ad39..08627f81 100644
--- a/arch/x86_64/bits/fcntl.h
+++ b/arch/x86_64/bits/fcntl.h
@@ -13,7 +13,7 @@

#define O_ASYNC 020000
#define O_DIRECT 040000
-#define O_LARGEFILE 0
+#define O_LARGEFILE 0100000
#define O_NOATIME 01000000
#define O_PATH 010000000
#define O_TMPFILE 020200000

0 comments on commit f5453b6

Please sign in to comment.