[libgit2] Compile issue on debian-unstable

Miika Turkia miika.turkia at gmail.com
Wed Feb 18 21:02:58 PST 2015


On Thu, Feb 19, 2015 at 2:53 AM, Salvador Cuñat <salvador.cunat at gmail.com>
wrote:

>
>
> 2015-02-19 1:14 GMT+01:00 Lubomir I. Ivanov <neolit123 at gmail.com>:
>
>>
>>
>> i'm not sure why we have the wrapper for a 3 parameter
>> git_remote_fetch(), as i can't find it in their log.
>> fe3a40a4ff056400 is when git_remote_fetch() was added with one param
>> and then it changed to 4 params at c3ab1e5af4c43d.
>>
>> what a mess.
>>
>> > I've just remembered I had a built (not debian package) libgit2
>> library, may
>> > be it's still hanging around, as /usr/local/include/ is not the usual
>> > install dir for debian.
>> > Gonna take a look.
>> >
>>
>> could be the case, but our macro may be wrong as well.
>> l
>>
>
> Hi Lubomir.
>
> 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 .
>
> 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).
>
> On Ubuntu Utopic (14.10) I also have the problem with only 1 parameter for
git_remote _fetch
#define LIBGIT2_VERSION "0.20.0"

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.

miika
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150219/211ec4cb/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-properly-use-git_remote_fetch-on-libgit2-0.20.0.patch
Type: text/x-diff
Size: 1152 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150219/211ec4cb/attachment.patch>


More information about the subsurface mailing list