Created attachment 1819 [details] configure.ac patch to allow for building on Haiku Haiku has included openssh for some time now, but with every openssh release we have to repatch it. Attached is our current patch for 5.4p1. The patch was originally done by Ingo Weinhold (ingo_weinhold@gmx.de) on 5.0p1 http://ports.haiku-files.org/browser/haikuports/trunk/net-misc/openssh/openssh-5.2p1-haiku.diff -scottmc
Comment on attachment 1819 [details] configure.ac patch to allow for building on Haiku looks pretty safe, include for 5.5p1?
Comment on attachment 1819 [details] configure.ac patch to allow for building on Haiku >+if test -z "$have_u_int64_t" ; then >+ AC_MSG_CHECKING([for u_int64_t type in posix/stdint.h]) >+ AC_TRY_COMPILE( >+ [ #include <posix/stdint.h> ], >+ [ u_int64_t a; a = 1], This looks OK, but we don't actually check for the posix/stdint.h header nor do we include it so we actually pick up the u_int64_t definition in a central place.
So perhaps just add AC_DEFINE(HAVE_U_INT64_T) to that first section for the *-*-haiku*) case, and remove the second half of that patch?
(In reply to comment #3) > So perhaps just add > AC_DEFINE(HAVE_U_INT64_T) > to that first section for the *-*-haiku*) case, and remove the second > half of that patch? Sounds good, committed as suggested, it will be in 5.5p1. Thanks.
Mass move of bugs RESOLVED->CLOSED following the release of openssh-5.5p1