git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alexandre Julliard <julliard@winehq.org>
To: Luciano Rocha <luciano@eurotux.com>
Cc: Steffen Prohaska <prohaska@zib.de>,
	Git Mailing List <git@vger.kernel.org>,
	msysGit <msysgit@googlegroups.com>,
	Junio C Hamano <gitster@pobox.com>
Subject: Re: [ANNOUNCE] GIT 1.5.4-rc2
Date: Fri, 28 Dec 2007 16:16:26 +0100	[thread overview]
Message-ID: <87sl1m6e9h.fsf@wine.dyndns.org> (raw)
In-Reply-To: <20071228150240.GC19928@bit.office.eurotux.com> (Luciano Rocha's message of "Fri, 28 Dec 2007 15:02:40 +0000")

Luciano Rocha <luciano@eurotux.com> 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@winehq.org

  reply	other threads:[~2007-12-28 15:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-27  3:36 [ANNOUNCE] GIT 1.5.4-rc2 Junio C Hamano
     [not found] ` <7v1w98lsg3.fsf-jO8aZxhGsIagbBziECNbOZn29agUkmeCHZ5vskTnxNA@public.gmane.org>
2007-12-28 10:43   ` Steffen Prohaska
2007-12-28 15:02     ` Luciano Rocha
2007-12-28 15:16       ` Alexandre Julliard [this message]
2007-12-28 15:26         ` Luciano Rocha

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sl1m6e9h.fsf@wine.dyndns.org \
    --to=julliard@winehq.org \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=luciano@eurotux.com \
    --cc=msysgit@googlegroups.com \
    --cc=prohaska@zib.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).