Re: [ANNOUNCE] GIT 1.5.4-rc2
- From
- Alexandre Julliard <julliard@winehq.org>
- Date
- Dec 28, 2007, 15:16 UTC
- Message-ID
- <87sl1m6e9h.fsf@wine.dyndns.org>
- In-Reply-To
- <20071228150240.GC19928@bit.office.eurotux.com>
Luciano Rocha <luciano@eurotux.com> writes:
Show 20 quoted lines
> 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@winehq.org