From owner-freebsd-ports-bugs@FreeBSD.ORG Wed May 7 17:30:02 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DF1DDBF4 for ; Wed, 7 May 2014 17:30:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (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 BC9785FB for ; Wed, 7 May 2014 17:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s47HU1B8016077 for ; Wed, 7 May 2014 17:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s47HU1Q6016076; Wed, 7 May 2014 17:30:01 GMT (envelope-from gnats) Resent-Date: Wed, 7 May 2014 17:30:01 GMT Resent-Message-Id: <201405071730.s47HU1Q6016076@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Andrew Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 024038E8 for ; Wed, 7 May 2014 17:20:38 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E3FB7328 for ; Wed, 7 May 2014 17:20:37 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s47HKbW0042748 for ; Wed, 7 May 2014 17:20:37 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s47HKb5E042745; Wed, 7 May 2014 17:20:37 GMT (envelope-from nobody) Message-Id: <201405071720.s47HKb5E042745@cgiserv.freebsd.org> Date: Wed, 7 May 2014 17:20:37 GMT From: Andrew To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/189430: emulators/virtualbox-ose: fix video capture support X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 May 2014 17:30:02 -0000 >Number: 189430 >Category: ports >Synopsis: emulators/virtualbox-ose: fix video capture support >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed May 07 17:30:01 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Andrew >Release: >Organization: >Environment: >Description: VPX module is disabled for FreeBSD in Config.kmk, so selecting "Video Capture" menu item results in "VERR_NOT_IMPLEMENTED" error message. >How-To-Repeat: 1. Build and install virtualbox-ose with VPX and QT4 option set. 2. Start any virtual machine from GUI. 3. Select "Devices" -> "Video Capture". >Fix: Add FreeBSD in list of supported operating systems. Patch attached with submission follows: Index: virtualbox-ose/files/patch-Config.kmk =================================================================== --- virtualbox-ose/files/patch-Config.kmk (revision 353149) +++ virtualbox-ose/files/patch-Config.kmk (working copy) @@ -1,5 +1,14 @@ --- Config.kmk.orig 2013-11-28 19:29:52.000000000 +0100 +++ Config.kmk 2013-12-17 20:15:54.000000000 +0100 +@@ -584,7 +584,7 @@ + # Enable this to build vbox-img even if VBOX_WITH_TESTCASES is disabled + VBOX_WITH_VBOX_IMG = + # Enables the VPX module for VM video capturing +-if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), darwin.x86 darwin.amd64 linux.x86 linux.amd64 solaris.amd64 win.x86 win.amd64) ++if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), darwin.x86 darwin.amd64 freebsd.x86 freebsd.amd64 linux.x86 linux.amd64 solaris.amd64 win.x86 win.amd64) + VBOX_WITH_VPX = 1 + endif + # Enable shared folders @@ -3260,16 +3260,16 @@ $(VBOX_GCC_WARN) -Wpointer-arith -Winline $(VBOX_GCC_Wno-pointer-sign) $(VBOX_GCC_fdiagnostics-show-option) \ -Wstrict-prototypes -Wmissing-prototypes -Wstrict-prototypes \ >Release-Note: >Audit-Trail: >Unformatted: