From f5453b636930b1aa6402d935253d48fdc22826a7 Mon Sep 17 00:00:00 2001 From: Nicolo Date: Mon, 10 May 2021 10:40:24 +0200 Subject: [PATCH 1/2] musl:add patch for 0 largefile on x86_64 --- .../patches/fix_missing_O_LARGEFILE_values.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 srcpkgs/musl/patches/fix_missing_O_LARGEFILE_values.patch diff --git a/srcpkgs/musl/patches/fix_missing_O_LARGEFILE_values.patch b/srcpkgs/musl/patches/fix_missing_O_LARGEFILE_values.patch new file mode 100644 index 000000000000..bde0c4e91d28 --- /dev/null +++ b/srcpkgs/musl/patches/fix_missing_O_LARGEFILE_values.patch @@ -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 From b866042438d9d53d7ea0e1e849dfb12cefa0e624 Mon Sep 17 00:00:00 2001 From: Nicolo Date: Mon, 10 May 2021 10:40:47 +0200 Subject: [PATCH 2/2] musl: revbump --- srcpkgs/musl/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/musl/template b/srcpkgs/musl/template index 5ba5425709b0..337a3082faa9 100644 --- a/srcpkgs/musl/template +++ b/srcpkgs/musl/template @@ -2,7 +2,7 @@ pkgname=musl reverts="1.2.0_1" version=1.1.24 -revision=6 +revision=7 archs="*-musl" bootstrap=yes build_style=gnu-configure