Obviously neither of these affect builds on Red Hat Linux, but it would be
nice to have them fixed.
- none of the C files include config.h. This specifically rpmmodule.c.
- add a #include "system.h" to the top of each C file.
- remove #include <alloca.h> from the top of rpmmodule.c
- PyObject_HEAD should not be followed by a semicolon.
- for i in *module.c; do
mv $i $i.bak
sed "s/PyObject_HEAD;/PyObject_HEAD/g" < $i.bak > $i
Done, changes should be in rpm-4.1-0.23.
Reopen this bug if there are other portability problems.