Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

VirtualBox guest additions - new failure



Hi,

9.99.88 brought new  /usr/include/sys/device.h and new
config_found(9). Consequently vbox guest additions build fails in
src/VBox/Additions/common/VBoxGuest/VBoxGuest-netbsd.c:

...
#if __NetBSD_Prereq__(9,99,82)
    config_found(sc->sc_dev, &am, wsmousedevprint,
                 CFARG_IATTR, "wsmousedev",
                 CFARG_EOL);
#else
    sc->sc_wsmousedev = config_found_ia(sc->sc_dev, "wsmousedev", &am,
wsmousedevprint);
#endif
...

None of these is good now for 9.99.88, as config_found now expects

device_t
     config_found(device_t parent, void *aux, cfprint_t print,
         const struct cfargs *);


Any idea how to transform this? It will need another conditional, but
the structure composition is beyond first glance, for me at least...

Chavdar


-- 
----


Home | Main Index | Thread Index | Old Index