makedumpfile: needs -fcommon for gcc10

[ci skip]
This commit is contained in:
Jürgen Buchmüller 2020-08-18 02:48:33 +02:00
parent c7f272744a
commit 54ee1cab7f

View file

@ -11,6 +11,8 @@ homepage="http://sourceforge.net/projects/makedumpfile/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8
CFLAGS="-fcommon"
post_extract() {
sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
sed -i '1i#include <limits.h>' common.h