Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Nov 2014 21:43:52 +0000 (UTC)
From:      Juergen Lock <nox@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r373177 - in head/emulators/qemu-devel: . files
Message-ID:  <201411232143.sANLhqQc001892@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nox
Date: Sun Nov 23 21:43:52 2014
New Revision: 373177
URL: https://svnweb.freebsd.org/changeset/ports/373177
QAT: https://qat.redports.org/buildarchive/r373177/

Log:
  - bsd-user: Convert signal number for thr_kill() to host signum.
  - Bump PORTREVISION.
  
  Submitted by:	sson
  Obtained from:	https://github.com/seanbruno/qemu-bsd-user/commit/cab0d36ffd4e70b1879dc2cf860c975a7965afc3

Added:
  head/emulators/qemu-devel/files/extra-patch-cab0d36ffd4e70b1879dc2cf860c975a7965afc3   (contents, props changed)
Modified:
  head/emulators/qemu-devel/Makefile

Modified: head/emulators/qemu-devel/Makefile
==============================================================================
--- head/emulators/qemu-devel/Makefile	Sun Nov 23 21:34:42 2014	(r373176)
+++ head/emulators/qemu-devel/Makefile	Sun Nov 23 21:43:52 2014	(r373177)
@@ -3,7 +3,7 @@
 
 PORTNAME=	qemu
 PORTVERSION=	2.0.2
-PORTREVISION=	7
+PORTREVISION=	8
 CATEGORIES=	emulators
 MASTER_SITES=	http://wiki.qemu.org/download/:release \
 		LOCAL/nox:snapshot
@@ -97,6 +97,7 @@ EXTRA_PATCHES+=	${FILESDIR}/extra-patch-
 EXTRA_PATCHES+=	${FILESDIR}/extra-patch-9ed0e07e2e07791858339874eb4d20daca858c8a
 EXTRA_PATCHES+=	${FILESDIR}/extra-patch-a8dc4de7f73bc6f8363c0fc81c4c6e53733c444b
 EXTRA_PATCHES+=	${FILESDIR}/extra-patch-bsd-user-freebsd-os-socket.h
+EXTRA_PATCHES+=	${FILESDIR}/extra-patch-cab0d36ffd4e70b1879dc2cf860c975a7965afc3
 .endif
 
 CONFIGURE_ARGS+=	--localstatedir=/var

Added: head/emulators/qemu-devel/files/extra-patch-cab0d36ffd4e70b1879dc2cf860c975a7965afc3
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/qemu-devel/files/extra-patch-cab0d36ffd4e70b1879dc2cf860c975a7965afc3	Sun Nov 23 21:43:52 2014	(r373177)
@@ -0,0 +1,29 @@
+From cab0d36ffd4e70b1879dc2cf860c975a7965afc3 Mon Sep 17 00:00:00 2001
+From: Stacey Son <sson@FreeBSD.org>
+Date: Sat, 22 Nov 2014 19:59:32 +0000
+Subject: [PATCH] Convert signal number for thr_kill() to host signum.
+
+---
+ bsd-user/freebsd/os-thread.h | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/bsd-user/freebsd/os-thread.h b/bsd-user/freebsd/os-thread.h
+index eef58fb..a41fde5 100644
+--- a/bsd-user/freebsd/os-thread.h
++++ b/bsd-user/freebsd/os-thread.h
+@@ -85,13 +85,13 @@ static abi_long do_freebsd_thr_exit(CPUArchState *cpu_env, abi_ulong tid_addr)
+ static abi_long do_freebsd_thr_kill(long id, int sig)
+ {
+ 
+-    return get_errno(thr_kill(id, sig));
++    return get_errno(thr_kill(id, target_to_host_signal(sig)));
+ }
+ 
+ static abi_long do_freebsd_thr_kill2(pid_t pid, long id, int sig)
+ {
+ 
+-    return get_errno(thr_kill2(pid, id, sig));
++    return get_errno(thr_kill2(pid, id, target_to_host_signal(sig)));
+ }
+ 
+ static abi_long do_freebsd_thr_suspend(abi_ulong target_ts)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411232143.sANLhqQc001892>