[Buildroot] [PATCH 1/1] package/openswan: not available on musl
Jörg Krause
joerg.krause at embedded.rocks
Sun Jul 31 12:47:47 UTC 2016
On So, 2016-07-31 at 11:51 +0200, Bernd Kuhls wrote:
> After fixing the usual sys/cdefs.h and _P stuff the build still fails
> because Openswan makes use of GLOB_ functions
>
> /home/bernd/buildroot/br4/output/build/openswan-
> 2.6.48/lib/libipsecconf/parser.l:200:29: error: ‘GLOB_BRACE’
> undeclared (first use in this function)
> globresult = glob(try, GLOB_BRACE, NULL, &globbuf);
> ^
> /home/bernd/buildroot/br4/output/build/openswan-
> 2.6.48/lib/libipsecconf/parser.l:200:29: note: each undeclared
> identifier is reported only once for each function it appears in
> /home/bernd/buildroot/br4/output/build/openswan-
> 2.6.48/lib/libipsecconf/parser.l:207:41: error: ‘GLOB_NOMAGIC’
> undeclared (first use in this function)
> globresult = glob(try, GLOB_BRACE|GLOB_NOMAGIC, NULL,
> &globbuf);
>
> https://github.com/xelerance/Openswan/blob/master/lib/libipsecconf/pa
> rser.l#L200
> https://github.com/xelerance/Openswan/blob/master/lib/libipsecconf/pa
> rser.l#L207
> [...]
> ^
> which musl does not support:
> http://www.openwall.com/lists/musl/2013/09/16/1
>
Maybe we can add libglob [1] as a package and add it as a musl
dependencies like we do it with netbsd-queue?
[1] https://github.com/voidlinux/libglob
Best regards
Jörg Krause
More information about the buildroot
mailing list