Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Mar 2015 21:59:33 +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: r381521 - in head/emulators/qemu-sbruno: . files
Message-ID:  <201503172159.t2HLxXx9037280@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nox
Date: Tue Mar 17 21:59:32 2015
New Revision: 381521
URL: https://svnweb.freebsd.org/changeset/ports/381521
QAT: https://qat.redports.org/buildarchive/r381521/

Log:
  - Fix procctl check.
  - Bump PORTREVISION.
  
  PR:		198667
  Submitted by:	garga

Modified:
  head/emulators/qemu-sbruno/Makefile
  head/emulators/qemu-sbruno/files/patch-bsd-user-freebsd-os-proc.c

Modified: head/emulators/qemu-sbruno/Makefile
==============================================================================
--- head/emulators/qemu-sbruno/Makefile	Tue Mar 17 21:12:50 2015	(r381520)
+++ head/emulators/qemu-sbruno/Makefile	Tue Mar 17 21:59:32 2015	(r381521)
@@ -3,6 +3,7 @@
 
 PORTNAME=	qemu
 PORTVERSION=	2.2.50.g20150310
+PORTREVISION=	1
 CATEGORIES=	emulators
 MASTER_SITES=	GH GHC \
 		LOCAL/nox \

Modified: head/emulators/qemu-sbruno/files/patch-bsd-user-freebsd-os-proc.c
==============================================================================
--- head/emulators/qemu-sbruno/files/patch-bsd-user-freebsd-os-proc.c	Tue Mar 17 21:12:50 2015	(r381520)
+++ head/emulators/qemu-sbruno/files/patch-bsd-user-freebsd-os-proc.c	Tue Mar 17 21:59:32 2015	(r381521)
@@ -1,11 +1,14 @@
 --- a/bsd-user/freebsd/os-proc.c
 +++ b/bsd-user/freebsd/os-proc.c
-@@ -364,7 +364,7 @@ execve_end:
- #error __FreeBSD_version not defined!
+@@ -365,8 +365,10 @@ execve_end:
  #endif
  
--#if defined(__FreeBSD_version) && __FreeBSD_version >= 1001510
-+#if defined(__FreeBSD_version) && __FreeBSD_version >= 1001510 && defined(PROC_REAP_ACQUIRE)
- 
+ #if defined(__FreeBSD_version) && __FreeBSD_version >= 1001510
+-
  #include <sys/procctl.h>
++#endif
++
++#if defined(__FreeBSD_version) && __FreeBSD_version >= 1001510 && defined(PROC_REAP_ACQUIRE)
  
+ static abi_long
+ t2h_procctl_cmd(int target_cmd, int *host_cmd)



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