[SOLVED] how to makepkg runit
I git cloned the runit repo from https://gitea.artixlinux.org/packages/runit for experimental purposes.
When I try to makepkg I get errors eg
./compile trysocketlib.c
./compile uidgid.c
./compile alloc.c
alloc.c: In function ‘alloc’:
alloc.c:15:26: warning: old-style function definition [-Wold-style-definition]
15 | /*@null@*//*@out@*/char *alloc(n)
| ^~~~~
alloc.c:17:1: error: number of arguments doesn’t match prototype
17 | {
| ^
I suppose that's because the runit code base is very old style.
Is there a magical way to revert back to an older universe?
I tried exporting a lesser CFLAGS in the PKGBUILD build function, but that didn't seem to go very far.