Re: Patch to compile against Botan 2.x

Lapo Luchini <[email protected]> Tue, 6 Apr 2021 08:53:24 +0200
Newsgroups gmane.comp.version-control.monotone.devel
Message-ID <[email protected]>
On 2021-04-05 12:25, Lapo Luchini wrote:
> Hi Jack, Markus,
>      I'm trying to compile recent trunk on Win10 WSL1 Ubuntu Focal, and 
> it seems like Botan is using a "E" template and that conflicts with a 
> macro that Monotone is using (sanity.hh).

I also found a problem in Makefile.am:

make[2]: Circular po/pt.gmo <- po/pt.gmo dependency dropped.
[[ -z  ]] || cp  po/pt.gmo
/bin/bash: -c: line 0: unexpected argument `]]' to conditional unary 
operator
/bin/bash: -c: line 0: syntax error near `]]'
/bin/bash: -c: line 0: `[[ -z  ]] || cp  po/pt.gmo'

which I fixed by quoting the parameter after `-z`.

All is committed in:
net.venge.monotone.lapo.botan2

-- 
Lapo Luchini
[email protected]