Attached is a set of patches that makes joe run instead of crash
on amd64, ia64 and probably all other architectures where functions
such as getenv() and malloc() aren't of the same type as they are on ia32.
Most of them are proper declarations of stdlib.h. There's also the inclusion
of actual autoconf settings to check for term.h (which in turn is required
for tgetstr and such), and its inclusion inside its block (was this a typo?).
Autoconf needs to be re-run after applying this, obviously.
In two places, the config.h include was missing which would have rendered
the HAVE_* defines useless, so I added that too when adding stdlib.h with
The patches were made and/or inspired by Peter Troeger, Tomas Kalibera,
Daniel Jacobowitz and myself. The Debian package of 3.3-5 includes them now.
It would also help if someone would look into the warnings displayed with
the -Wall gcc flag.
2. That which causes joy or happiness.
Get latest updates about Open Source Projects, Conferences and News.