projects
/
feed
/
packages.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
nfs-kernel-server: update to v2.6.2
[feed/packages.git]
/
net
/
nfs-kernel-server
/
patches
/
200-fix-macos-build.patch
1
fix stat64 issue for modern macos versions (including macos arm64)
2
3
--- a/tools/rpcgen/rpc_main.c
4
+++ b/tools/rpcgen/rpc_main.c
5
@@ -68,6 +68,12 @@
6
# endif
7
#endif
8
9
+#ifdef __APPLE__
10
+# if __DARWIN_ONLY_64_BIT_INO_T
11
+# define stat64 stat
12
+# endif
13
+#endif
14
+
15
struct commandline
16
{
17
int cflag; /* xdr C routines */