[PATCH] main.cpp: fix broken build for libgit2 0.21
Lubomir I. Ivanov
neolit123 at gmail.com
Sun Dec 7 10:32:14 PST 2014
On 7 December 2014 at 20:26, Lubomir I. Ivanov <neolit123 at gmail.com> wrote:
> On 7 December 2014 at 20:24, Gaetan Bisson <bisson at archlinux.org> wrote:
>> [2014-12-07 08:18:48 -1000] Gaetan Bisson:
>>> and USE_LIBGIT21_API is nowhere defined...
>>
>> Ah, well, maybe in subsurface-configure.pri; not sure why, though.
>> There's no mention of git_libgit2_init anywhere in my libgit2 headers.
>>
>
> and what does version.h say?
>
my bad, you already posted version.h
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.
lubomir
--
More information about the subsurface
mailing list