splint: fix build with new bison

This commit is contained in:
Đoàn Trần Công Danh 2020-11-21 19:37:13 +07:00
parent a2236bf860
commit 9206e4e8ba

View file

@ -15,6 +15,7 @@ checksum=51cd7ba978a366ae1ededac2b927058fd5f45d5455e5a9d640b75ab4e45b748a
disable_parallel_build=yes
nocross=yes
post_extract() {
sed -i 's/__pid_t/pid_t/g' src/osd.c
post_patch() {
vsed -i 's/__pid_t/pid_t/g' src/osd.c
vsed -i -e '/RM.*[.]tab[.]h/d' src/Makefile.am src/Makefile.in
}