Created attachment 404340 [details, diff]
Patch changing variable to pid_t
Splint fails to compile against sys-libs/musl with:
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -IHeaders -O2 -pipe -fomit-frame-pointer -c `test -f osd.c || echo './'`osd.c
osd.c: In function ‘osd_getPid’:
osd.c:519:3: error: unknown type name ‘__pid_t’
__pid_t pid = getpid ();
Issue is fixed upstream but not included in a release, patch is attached
I'm not sure how slow these releases are. I'd rather not add this to the overlay because its done upstream. @jer okay to backport or shoudl we wait?
Based on that 3.1.0 was released in April 2003, 3.1.2 in July 2007 and the issue was fixed in August 2008, I wouldn't expect any release soon
@jer, can we add this patch to the tree? I tested on glibc. No problems.
Fixed in -r2.