svn commit: r381521 - in head/emulators/qemu-sbruno: . files

Juergen Lock nox at FreeBSD.org
Tue Mar 17 21:59:33 UTC 2015


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)


More information about the svn-ports-head mailing list