OK thanks - I see how to do that now.
I'm still unable to compile the patched wine. I think the problem is that
I'm not sure exactly what the patch should contain. I have tried the below
patch but the compile barfs:
>
> diff --git a/dlls/iphlpapi/iphlpapi_main.c b/dlls/iphlpapi/iphlpapi_main.c
> index 547b666..d19bff7 100644
> --- a/dlls/iphlpapi/iphlpapi_main.c
> +++ b/dlls/iphlpapi/iphlpapi_main.c
> @@ -434,6 +434,31 @@ DWORD WINAPI GetAdapterIndex(LPWSTR AdapterName,
PULONG IfIndex)
>
>
> /******************************************************************
> + * GetAdaptersAddresses (IPHLPAPI.@)
> + *
> + * Get addresses associated with adapters.
> + *
> + * PARAMS
> + * Family [In] address family of the addresses
> + * Flags [In] which types of addresses
> + * Reserved [In] should be null
> + * AdapterAddresses [In/Out] ptr to a buffer to receive addresses
> + * SizePointer [In/Out] ptr to a variable with the size of the buffer
pointed to
> + *
> + * RETURNS
> + * Success: NO_ERROR
> + * Failure: error code from winerror.h
> + *
> + * FIXME
> + * Stub, returns ERROR_CALL_NOT_IMPLEMENTED
> + */
> +ULONG WINAPI GetAdaptersAddresses( ULONG Family, ULONG Flags, PVOID
Reserved,
> + /*PIP_ADAPTER_ADDRESSES*/PVOID AdapterAddresses, PULONG SizePointer)
> +{
> + FIXME("stub\n");
> + return ERROR_NO_DATA;
> +}
> +/******************************************************************
> * GetAdaptersInfo (IPHLPAPI.@)
> *
> * Get information about adapters.
> (END)
>
Can someone tell me if the above is a complete patch file? I'm new to git.