From owner-svn-ports-head@FreeBSD.ORG Sun Nov 23 21:43:53 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5DE1B148; Sun, 23 Nov 2014 21:43:53 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 40212B1D; Sun, 23 Nov 2014 21:43:53 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sANLhr1O001896; Sun, 23 Nov 2014 21:43:53 GMT (envelope-from nox@FreeBSD.org) Received: (from nox@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sANLhqQc001892; Sun, 23 Nov 2014 21:43:52 GMT (envelope-from nox@FreeBSD.org) Message-Id: <201411232143.sANLhqQc001892@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: nox set sender to nox@FreeBSD.org using -f From: Juergen Lock Date: Sun, 23 Nov 2014 21:43:52 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Nov 2014 21:43:53 -0000 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 +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)