Re: [libgit2] Compile issue on debian-unstable

2015-02-20 Thread Willem Ferguson
On 19/02/2015 07:02, Miika Turkia wrote: 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

Re: [libgit2] Compile issue on debian-unstable

2015-02-19 Thread Lubomir I. Ivanov
On 19 February 2015 at 07:02, Miika Turkia miika.tur...@gmail.com wrote: 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 ideally we can have

[libgit2] Compile issue on debian-unstable

2015-02-18 Thread Salvador Cuñat
Good night. While compiling last git-master (2e6fcfc) I have had this problem: compiling git-access.c git-access.c: In function ‘update_local_repo’: git-access.c:23:65: error: too many arguments to function ‘git_remote_fetch’ #define git_remote_fetch(remote, refspecs, signature, reflog)

Re: [libgit2] Compile issue on debian-unstable

2015-02-18 Thread Lubomir I. Ivanov
On 19 February 2015 at 00:50, Salvador Cuñat salvador.cu...@gmail.com wrote: Good night. While compiling last git-master (2e6fcfc) I have had this problem: compiling git-access.c git-access.c: In function ‘update_local_repo’: git-access.c:23:65: error: too many arguments to function

Re: [libgit2] Compile issue on debian-unstable

2015-02-18 Thread Salvador Cuñat
Hi Lubomir. I think Debian's libgit2-21 is equivalent to v0.21 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. Regards. Salva. 2015-02-19 0:22

Re: [libgit2] Compile issue on debian-unstable

2015-02-18 Thread Lubomir I. Ivanov
On 19 February 2015 at 02:14, Lubomir I. Ivanov neolit...@gmail.com wrote: 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

Re: [libgit2] Compile issue on debian-unstable

2015-02-18 Thread Salvador Cuñat
2015-02-19 1:14 GMT+01:00 Lubomir I. Ivanov neolit...@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

Re: [libgit2] Compile issue on debian-unstable

2015-02-18 Thread Lubomir I. Ivanov
On 19 February 2015 at 01:42, Salvador Cuñat salvador.cu...@gmail.com wrote: Hi Lubomir. I think Debian's libgit2-21 is equivalent to v0.21 BTW, what does /include/git2/version.h says in terms of x.xx version? c3ab1e5af4c43d added the 4 parameter version to git_remote_fetch() (version.h was