ports/emulators/qemu-devel/files/patch-z3b-bsd-user-8fix
Juergen Lock 45aa9370f0 - Update net/usbredir to 0.6 .
- 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
2013-03-29 17:40:38 +00:00

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: