Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 2013 04:24:58 +0200
From:      Tomasz Sowa <t.sowa@ttmath.org>
To:        freebsd-ports@freebsd.org
Subject:   [PATCH] emulators/virtualbox-ose-kmod in 10-current
Message-ID:  <523BB1FA.3050106@ttmath.org>

next in thread | raw e-mail | index | archive | help
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






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