Subject: bug#49161: kicad-5.1.6 fails to build

From: Guillaume Le Vaillant <[email-masked]>
Date: Tue, 22 Jun 2021 12:01:51 +0000

Vinicius Monego <[email-masked]> skribis:

>> In particular the /gnu/store/...-libngspice-34/include/config.h
>> seems suspicious.
>
> Good catch. Indeed, that file should be removed.
>
> Kicad takes a long time to build on my machine. I am attaching a diff
> that removes config.h and should fix the compilation if anyone can
> confirm.

I tried applying your diff and with it kicad compiles fine and works.
Could you send a formatted patch?