Hi John, Is this fix suitable then? (see the below diff). This should pass BSD define as compiler option for all VBoxOGL source files including fakedri_drv.c.
Regards, Mikhail --- src/VBox/Additions/common/crOpenGL/Makefile.kmk +++ src/VBox/Additions/common/crOpenGL/Makefile.kmk @@ -243,6 +243,7 @@ ifdef VBOX_WITH_WDDM VBoxOGL_DEFS.win += VBOX_WITH_WDDM endif +VBoxOGL_DEFS.freebsd += BSD # # VBoxOGL-x86 - x86 VBoxOGL version built for amd64 build On 25.06.2013 0:41, John Clark wrote: > Hello, > > Unfortunately, sys/param.h is where BSD is defined. > > Thanks. > > - John > > On 06/24/2013 04:12 AM, mikhail sennikovsky wrote: >> Sorry for delay, your patch is now applied to trunk with only one >> modification that I've put the "#include <sys/param.h>" under "#if >> defined(BSD)" in fakedri_drv.c to keep all modifications under "#if >> defined(BSD)". >> >> Thanks, >> Mikhail >> >> On 23.06.2013 13:53, Bernhard Fröhlich wrote: >>> Is there anything else that I can do to speed up inclusion of the patch? >>> >>> -- >>> Bernhard Fröhlich >>> http://www.bluelife.at/ >>> >>> >>> On Sun, Jun 2, 2013 at 3:55 PM, Bernhard Fröhlich <[email protected]> >>> wrote: >>>> I've updated the patch to ensure that it applies on todays trunk. >>>> >>>> >>>> On Fri, May 31, 2013 at 1:45 PM, mikhail sennikovsky >>>> <[email protected]> wrote: >>>>> Could you provide a patch against trunk as well please? >>>>> >>>>> Mikhail >>>>> >>>>> On 31.05.2013 15:28, Bernhard Fröhlich wrote: >>>>> >>>>> John Clark did send us a patch to implement 3D acceleration support >>>>> for >>>>> FreeBSD >>>>> guests. The patch is included in the FreeBSD port for a few weeks >>>>> now and >>>>> shows >>>>> no regressions for us so far. >>>>> >>>>> The patch applied against 4.2.12. >>>>> >>>>> Author: John Clark <[email protected]> >>>>> License: Patch is under MIT License >>>>> >>>>> Thanks! >>>>> >>>>> -- >>>>> Bernhard Fröhlich >>>>> http://www.bluelife.at/ >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> vbox-dev mailing list >>>>> [email protected] >>>>> https://www.virtualbox.org/mailman/listinfo/vbox-dev >> >> _______________________________________________ vbox-dev mailing list [email protected] https://www.virtualbox.org/mailman/listinfo/vbox-dev
