summaryrefslogtreecommitdiff
path: root/emulators/qemu-devel/files/patch-z3b-bsd-user-8fix
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2013-03-29 17:40:38 +0000
committerJuergen Lock <nox@FreeBSD.org>2013-03-29 17:40:38 +0000
commit45aa9370f03dfaf05a98af04f0addd7e3998d771 (patch)
treed33294058708ce0ec0faa156a7ed184dea6cdc1d /emulators/qemu-devel/files/patch-z3b-bsd-user-8fix
parent- (force commit to note) add new port: games/chessx (diff)
- 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
Notes
Notes: svn path=/head/; revision=315552
Diffstat (limited to 'emulators/qemu-devel/files/patch-z3b-bsd-user-8fix')
-rw-r--r--emulators/qemu-devel/files/patch-z3b-bsd-user-8fix34
1 files changed, 34 insertions, 0 deletions
diff --git a/emulators/qemu-devel/files/patch-z3b-bsd-user-8fix b/emulators/qemu-devel/files/patch-z3b-bsd-user-8fix
new file mode 100644
index 000000000000..7a4de89f5a5b
--- /dev/null
+++ b/emulators/qemu-devel/files/patch-z3b-bsd-user-8fix
@@ -0,0 +1,34 @@
+--- 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: