mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
darwin.copyfile: 138 -> 213
https://github.com/apple-oss-distributions/copyfile/compare/copyfile-138...copyfile-213
This commit is contained in:
parent
4d328d0342
commit
d5f4ae43b4
@ -14,6 +14,8 @@ library(
|
||||
'copyfile',
|
||||
c_args : [
|
||||
'-D__DARWIN_NOW_CANCELABLE=1',
|
||||
# https://github.com/apple-oss-distributions/xnu/blob/94d3b452840153a99b38a3a9659680b2a006908e/bsd/sys/clonefile.h#L35
|
||||
'-DCLONE_ACL=0x0004',
|
||||
# https://github.com/apple-oss-distributions/xnu/blob/94d3b452840153a99b38a3a9659680b2a006908e/bsd/sys/kdebug.h#L691
|
||||
'-DDBG_DECMP=0x12',
|
||||
# https://github.com/apple-oss-distributions/xnu/blob/94d3b452840153a99b38a3a9659680b2a006908e/libkern/os/base.h#L129
|
||||
|
@ -73,7 +73,7 @@ mkAppleDerivation {
|
||||
"man"
|
||||
];
|
||||
|
||||
xcodeHash = "sha256-RClwLwWuieJzKJl1YRCrGBxPgWy0MDwFwN1VZ4GBxGY=";
|
||||
xcodeHash = "sha256-SYW6pBlCQkcbkBqCq+W/mDYZZ7/co2HlPZwXzgh/LnI=";
|
||||
|
||||
postPatch = ''
|
||||
# Disable experimental bounds safety stuff that’s not available in LLVM 16.
|
||||
@ -82,6 +82,10 @@ mkAppleDerivation {
|
||||
--replace-fail '__ptrcheck_abi_assume_single()' "" \
|
||||
--replace-fail '__unsafe_indexable' ""
|
||||
done
|
||||
|
||||
# clang 16 does not support C23 empty initializers. This can be removed once the bootstrap tools are updated.
|
||||
substituteInPlace copyfile.c \
|
||||
--replace-fail 'filesec_t fsec_tmp = {};' 'filesec_t fsec_tmp = {0};'
|
||||
'';
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = "-I${privateHeaders}/include";
|
||||
|
@ -28,8 +28,8 @@
|
||||
"version": "136"
|
||||
},
|
||||
"copyfile": {
|
||||
"hash": "sha256-uHqLFOIpXK+n0RHyOZzVsP2DDZcFDivKCnqHBaXvHns=",
|
||||
"version": "138"
|
||||
"hash": "sha256-lIhl5sr1gewIHkh10hD+H/I7MVPzlHlONGRMOO7OZuA=",
|
||||
"version": "213"
|
||||
},
|
||||
"developer_cmds": {
|
||||
"hash": "sha256-h0wMVlS6QdRvKOVJ74W9ziHYGApjvnk77AIR6ukYBRo=",
|
||||
|
Loading…
Reference in New Issue
Block a user