<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="gmail_quote">On 19/02/2015 07:02, Miika Turkia wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<div dir="ltr"><br>
<div class="gmail_extra">As supossed, I had a v0.20.0 version
built from scratch overlaped with the debian package.
Cleaned it and the macro worked fine as debian version
(v0.21.3) has three parameters defined .<br>
<br>
</div>
<div class="gmail_extra">I think the wrapper was set to
support three parameters because v0.21 (at least the one
packaged in debian) had only those 3 and fourth was
introduced later. But agree with you 3 completely
different versions of the same library function in less than
a year is a mess (saying it smooth and politely).<br>
<br>
</div>
</div>
</blockquote>
<div>On Ubuntu Utopic (14.10) I also have the problem with only 1
parameter for git_remote _fetch<br>
</div>
</div>
<blockquote
cite="mid:CAEB307M5LirkBWQ3+xBZiKK=qRDR_4g8zKdqGAbosGGvGCnwcQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">#define LIBGIT2_VERSION "0.20.0"<br>
<br>
</div>
<div class="gmail_extra">I use the attached patch on my tree,
but never sent it out as I have no clue about how the libgit
versioning/API works.<br>
<br>
miika<br>
</div>
</div>
<br>
</blockquote>
I was away for two weeks and got out of touch with respect to the
mess with libgit2. I run Ubuntu 14.4 and the default version of
libgit-dev is V19.<br>
Does the latest Subsurface master run with libgit2 V19? The first
#if in that file appears to provide for this <br>
<br>
#if !LIBGIT2_VER_MAJOR && LIBGIT2_VER_MINOR <= 20<br>
<br>
but I get make errors as discussed previously on this forum. Upon<br>
applying Miika's patch (above, to git-access.c), I get the
following:<br>
<br>
.obj/git-access.o: In function `is_git_repository':<br>
git-access.c:(.text+0x327): undefined reference to
`git_remote_fetch'<br>
<br>
Is there a sane solution for Debian/Ubuntu?<br>
Kind regards,<br>
willem<br>
<br>
</body>
</html>