On 7 December 2014 at 20:18, Gaetan Bisson <bis...@archlinux.org> wrote: > [2014-12-06 15:48:03 +0200] Lubomir I. Ivanov: >> +#if !LIBGIT2_VER_MAJOR && LIBGIT2_VER_MINOR <= 20 && >> !defined(USE_LIBGIT21_API) > > This breaks building against libgit2 for me: > > main.cpp: In function 'int main(int, char**)': > main.cpp:48:19: error: 'git_libgit2_init' was not declared in this > scope > git_libgit2_init(); > ^ > Makefile:1198: recipe for target '.obj/main.o' failed > > I'm running an up-to-date Arch Linux system with libgit2-0.21.1; > git2/version.h has: > > #define LIBGIT2_VERSION "0.21.0" > #define LIBGIT2_VER_MAJOR 0 > #define LIBGIT2_VER_MINOR 21 > #define LIBGIT2_VER_REVISION 0 > > and USE_LIBGIT21_API is nowhere defined... >
another patch was sent that supposedly fixes the mess. lubomir -- _______________________________________________ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface