Created attachment 200787 [details]
Add 12.x kevent, minherit, getrandom syscalls.
Add 12.x struct stat.
Suggest consolidating EXTRA_PATCHES so that 'update-patches' can work normally.
Should be a PORTREVISION bump
Assign to new maintainer.
There is one thing that not done: this will not work if kernel build without COMPAT_FREEBSD10 - wich remove pipe().
For all other soft this handled by libc (IMHO, not sure), it convert it to pipe2(,0), but valgring try to call directly via syscall and fail.
Almost same thing with COMPAT_FREEBSD11.
I try to make patch to fix it and add it here.
Created attachment 202919 [details]
pipe() -> pipe2(,0)
Also on FreeBSD 12 rquired:
looks like defaults now 16 and this brokes valgrind.
Can you also integrate my patch: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234045 ?
Created attachment 202943 [details]
- pipe() -> pipe2(,0) for 11.0
- add getfsstat() for 12.0
- add statfs() for 12.0
- add sigwait()
- use -mstack-alignment=8 to avoid crash
(In reply to rozhuk.im from comment #7)
Tested the patch on: FreeBSD 12.0-RELEASE-p3 FreeBSD 12.0-RELEASE-p3 GENERIC amd64
Works as expected, thanks!
This very much doesn't affect only you. Been waiting for the fix to be merged for months now, since 12 came out, and now we're on 12.1. Is there any movement on getting this merged?
Any update on this ?