[vbox-dev] [PATCH] FreeBSD build fixes
Beat Gaetzi
beat at FreeBSD.org
Sat Jul 11 05:31:26 PDT 2009
Hi,
These tree patches fixes build of virtualbox trunk on FreeBSD. Maybe you
like to include these patches into the official distribution:
http://people.freebsd.org/~beat/patches/vbox/patch-src-VBox-Runtime-r0drv-freebsd-memuserkernel-r0drv-freebsd.c
(Replaces not existing const user_addr_t with caddr_t and replace not
defined R3Ptr with pv)
http://people.freebsd.org/~beat/patches/vbox/patch-src-VBox-Additions-common-VBoxGuest-VBoxGuest-freebsd.c
(unit2minor was removed at __FreeBSD_version 800062. This patch was
submitted by Gustau Pérez <gperez at entel dot upc dot edu>)
http://people.freebsd.org/~beat/patches/vbox/patch-src-VBox-Devices-Network-DrvNAT.cpp
(INADDR_ANY is defined in netinet/in.h. This patch was taken from
http://d.hatena.ne.jp/akira_you/20090702#p1)
We also changed the interpreter shell from /bin/bash to /bin/sh in the
configure script which creates env.sh because there is no need for a
bash and bash isn't included in the default FreeBSD installation:
http://people.freebsd.org/~beat/patches/vbox/patch-configure
Thanks,
Beat
More information about the vbox-dev
mailing list