The f2c-generated sources are not compatible with C99. Building with -std=gnu89 works.
mopac7-1.15-49.fc43 now builds with C23.