Luciano Rocha <luciano@xxxxxxxxxxx> writes: > On Fri, Dec 28, 2007 at 11:43:53AM +0100, Steffen Prohaska wrote: >> >> On Dec 27, 2007, at 4:36 AM, Junio C Hamano wrote: >> >> > GIT 1.5.4-rc2 is available at the usual places: >> >> >> The msysgit installer is now available at >> >> http://code.google.com/p/msysgit/downloads >> > > Trying to install it in wine ends with: > > Runtime Error (at -1:0): > > Cannot Import dll:Kernel32.dll. > > That popup appears immediately after running wine > Git-1.5.4-rc2-preview20071228.exe and the installation ends. That's because it doesn't find CreateHardLinkA. The following Wine patch should enable the installer to succeed. diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec index 7bc5db3..5f6dea6 100644 --- a/dlls/kernel32/kernel32.spec +++ b/dlls/kernel32/kernel32.spec @@ -224,8 +224,8 @@ @ stdcall CreateFileMappingA(long ptr long long long str) @ stdcall CreateFileMappingW(long ptr long long long wstr) @ stdcall CreateFileW(wstr long long ptr long long long) -# @ stub CreateHardLinkA -# @ stub CreateHardLinkW +@ stub CreateHardLinkA +@ stub CreateHardLinkW @ stdcall CreateIoCompletionPort(long long long long) @ stdcall CreateJobObjectA(ptr str) @ stdcall CreateJobObjectW(ptr wstr) -- Alexandre Julliard julliard@xxxxxxxxxx - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html