ports/net/glusterfs/files/patch-libglusterfs_src_glusterfs_syscall.h
Timur I. Bakeyev 93be2a4f8f An update to the net/glusterfs port:
- System call fixes backported from upstream
- Adding missing scripts to the SHEBANG_FILES list
- Correct a bug with extended attributes
- Fix detection of the PACKAGE_VERSION and generation of the correct API version

PR:		249492
Submitted by:	maintainer
Reported by:	timur
2020-09-26 21:09:13 +00:00

16 lines
487 B
C

--- libglusterfs/src/glusterfs/syscall.h.orig 2020-08-04 12:41:32 UTC
+++ libglusterfs/src/glusterfs/syscall.h
@@ -266,4 +266,13 @@ ssize_t
sys_copy_file_range(int fd_in, off64_t *off_in, int fd_out, off64_t *off_out,
size_t len, unsigned int flags);
+int
+sys_kill(pid_t pid, int sig);
+
+#ifdef __FreeBSD__
+int
+sys_sysctl(const int *name, u_int namelen, void *oldp, size_t *oldlenp,
+ const void *newp, size_t newlen);
+#endif
+
#endif /* __SYSCALL_H__ */