Current-Users archive

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

Re: VirtualBox guest additions - new failure



On Mon, Aug 09, 2021 at 05:38:18PM +0100, Chavdar Ivanov wrote:
> 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);

A similar clause is below (see arch/amiga/dev/ms.c 1.41 -> 1.42). 
I think CFARGS(.iattr = "wsmousedev") is what you need.

@@ -203,8 +203,7 @@
 		sc->sc_ports[i].ms_wsenabled = 0;
 		sc->sc_ports[i].ms_wsmousedev = 
 		    config_found(self, &waa, wsmousedevprint,
-			CFARG_IATTR, "wsmousedev",
-			CFARG_EOL);
+			CFARGS(.iattr = "wsmousedev"));
 #endif

Chris


Home | Main Index | Thread Index | Old Index