mirror of
https://git.freebsd.org/ports.git
synced 2025-06-24 14:10:30 -04:00
- Update emulators/qemu-devel to 1.4.0 with preliminary bsd-user patches. Thanx to: sson, cognet, and others for much improved bsd-user support - it now runs at least quite a few mips64 and single-threaded arm binaries, see: https://wiki.freebsd.org/QemuUserModeHowTo
34 lines
778 B
Text
34 lines
778 B
Text
--- a/bsd-user/syscall.c
|
|
+++ b/bsd-user/syscall.c
|
|
@@ -3890,6 +3890,7 @@ do_stat:
|
|
break;
|
|
#endif
|
|
|
|
+#if defined(__FreeBSD_version) && __FreeBSD_version > 900000
|
|
case TARGET_FREEBSD_NR_pdkill:
|
|
ret = get_errno(pdkill(arg1, target_to_host_signal(arg2)));
|
|
break;
|
|
@@ -3903,6 +3904,7 @@ do_stat:
|
|
goto efault;
|
|
}
|
|
break;
|
|
+#endif
|
|
|
|
case TARGET_FREEBSD_NR_sigaction:
|
|
{
|
|
@@ -4176,6 +4178,7 @@ do_stat:
|
|
break;
|
|
#endif
|
|
|
|
+#if defined(__FreeBSD_version) && __FreeBSD_version > 900000
|
|
case TARGET_FREEBSD_NR_posix_fallocate:
|
|
{
|
|
off_t offset = arg2, len = arg3;
|
|
@@ -4192,6 +4195,7 @@ do_stat:
|
|
ret = get_errno(posix_fallocate(arg1, offset, len));
|
|
}
|
|
break;
|
|
+#endif
|
|
|
|
#ifdef TARGET_FREEBSD_posix_openpt
|
|
case TARGET_FREEBSD_posix_openpt:
|