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

Joakim Bygdell j.bygdell at gmail.com
Sun Dec 7 11:08:24 PST 2014


> On 07 Dec 2014, at 19:23, Lubomir I. Ivanov <neolit123 at gmail.com> wrote:
> 
> On 7 December 2014 at 20:18, Gaetan Bisson <bisson at 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)
<snip>
> 
> another patch was sent that supposedly fixes the mess.
> 
> lubomir
> --
> _______________________________________________
> subsurface mailing list
> subsurface at subsurface-divelog.org
> http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface <http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface>

Both your patches breaks building on Mac.

llibgit2 version.h 
#define LIBGIT2_VERSION "0.21.2"
#define LIBGIT2_VER_MAJOR 0
#define LIBGIT2_VER_MINOR 21
#define LIBGIT2_VER_REVISION 2

/Jocke

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20141207/ceaaccd4/attachment.html>


More information about the subsurface mailing list