From owner-freebsd-ports@FreeBSD.ORG Fri Sep 20 02:45:19 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 210C783E for ; Fri, 20 Sep 2013 02:45:19 +0000 (UTC) (envelope-from t.sowa@ttmath.org) Received: from rent-cms.pl (rent-cms.pl [87.98.234.64]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DB87027B0 for ; Fri, 20 Sep 2013 02:45:18 +0000 (UTC) Received: from s100.slimaczek.pl (dynamic-78-8-155-10.ssp.dialog.net.pl [78.8.155.10]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by rent-cms.pl (postfix) with ESMTPSA id 80F63309A761 for ; Fri, 20 Sep 2013 04:21:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ttmath.org; s=ttmath; t=1379643668; bh=sycXZnhvkNdtv3ubNBEQ/Q1RL2xU01x++eb/5hz2C04=; h=Date:From:To:Subject; b=h2pk+QlHhyuaPayrPw6jRHNeUUAqr8HzvTntMFFoOCjrSxoe/5XVFeWBgY44m1jxC 1k0bJb+ZatKzoQMZoZVro6Egmf6W/BYZIC8q49/r9J2yMqsqb64TlsezqgkNFZEgvd FVaVreH8esJ9G44omBzJl0WNPgG0K/+y9TEDvPAfNqVU38j4hIH8AGLM1MTbnKAh4n KMHBm6AQSeciRqizaLbNDlzn4ElKQGkMULkJbZiic+yn6t9Ss8+SI7oYaA5o29EF2M vM6UFzE96GNMsnBx8Nz5RA3YjEvctSxNXvzN1i8RnUIKiHRUPDA3ufF0GcGFSLiDrU ojF7ZkpBGuBdg== Message-ID: <523BB1FA.3050106@ttmath.org> Date: Fri, 20 Sep 2013 04:24:58 +0200 From: Tomasz Sowa User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130823 Thunderbird/17.0.8 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: [PATCH] emulators/virtualbox-ose-kmod in 10-current Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Sep 2013 02:45:19 -0000 Hi Virtualbox-4.2.18 kernel module doesn't want to compile on 10-current: /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.2.18/out/freebsd.amd64/release/bin/src/vboxdrv/r0drv/freebsd/alloc-r0drv-freebsd.c:83:76: error: too few arguments to function call, expected 10, have 9 cbAllocated, TRUE, VM_PROT_ALL, VM_PROT_ALL, 0); ^ @/vm/vm_map.h:368:1: note: 'vm_map_find' declared here int vm_map_find(vm_map_t, vm_object_t, vm_ooffset_t, vm_offset_t *, vm_size_t, ^ 1 error generated. *** Error code 1 There was a change in vm_map_find() in revision r255426 (one parameter has been added), patch: http://www.ttmath.org/tmp/virtualbox-4_2_18.patch applying: # cd /usr/ports/emulators/virtualbox-ose-kmod # make extract # fetch http://www.ttmath.org/tmp/virtualbox-4_2_18.patch # patch < virtualbox-4_2_18.patch # make all install clean -- Tomek