nettle: fix build on macos xcode 12
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Mon, 16 Nov 2020 08:52:49 +0000 (08:52 +0000)
committerKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Thu, 26 Nov 2020 17:37:42 +0000 (17:37 +0000)
commit6429307a3d6ba4c88d477cc7a3995be314e3dd15
treee51f96c914748fb7d2f930bf7e5075d3b1ef2343
parent4420ddaa5893acf524577b05bb0871e6f9d8735c
nettle: fix build on macos xcode 12

compiler warns that exit() isn't defined so checks for build system
compiler fail.

include <stdlib.h> to define exit()

Tested under macos Catalina & Big Sur

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
package/libs/nettle/patches/100-portability.patch [new file with mode: 0644]