[PATCH] main.cpp: fix broken build for libgit2 0.21

Gaetan Bisson bisson at archlinux.org
Sun Dec 7 11:34:52 PST 2014


[2014-12-07 20:32:14 +0200] Lubomir I. Ivanov:
> so if 'git_libgit2_init' isn't there and this is the case for version.h:
>         #define LIBGIT2_VER_MAJOR 0
>         #define LIBGIT2_VER_MINOR 21
> 
> there is no solution...it could be that the distro used another branch
> to build the library.
> 
> from one of my earlier messages:
> > 799e22ea (API broken) is after 4fb32a44 (version.h bumped to 0.21).
> 
> 799e22ea made the git_libgit2_init() change.

Well, there is no occurrence of libgit2_init in the 0.21.1 tarball:

	https://github.com/libgit2/libgit2/archive/v0.21.1.tar.gz

-- 
Gaetan


More information about the subsurface mailing list