diff --git a/net-misc/openssh/openssh-5.2p1-haiku.diff b/net-misc/openssh/openssh-5.2p1-haiku.diff new file mode 100644 index 000000000..61f87e9e8 --- /dev/null +++ b/net-misc/openssh/openssh-5.2p1-haiku.diff @@ -0,0 +1,35 @@ +diff -urN openssh-5.2p1/configure.ac openssh-5.2p1-haiku/configure.ac +--- openssh-5.2p1/configure.ac 2009-05-19 03:58:15.000000000 +0000 ++++ openssh-5.2p1-haiku/configure.ac 2009-05-19 05:02:04.000000000 +0000 +@@ -484,6 +484,11 @@ + *-*-dragonfly*) + SSHDLIBS="$SSHDLIBS -lcrypt" + ;; ++*-*-haiku*) ++ LIBS="$LIBS -lbsd " ++ AC_CHECK_LIB(network, socket) ++ MANTYPE=man ++ ;; + *-*-hpux*) + # first we define all of the options common to all HP-UX releases + CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" +@@ -2611,6 +2616,19 @@ + ) + fi + ++if test -z "$have_u_int64_t" ; then ++ AC_MSG_CHECKING([for u_int64_t type in posix/stdint.h]) ++ AC_TRY_COMPILE( ++ [ #include ], ++ [ u_int64_t a; a = 1], ++ [ ++ AC_DEFINE(HAVE_U_INT64_T) ++ AC_MSG_RESULT(yes) ++ ], ++ [ AC_MSG_RESULT(no) ] ++ ) ++fi ++ + if test -z "$have_u_intxx_t" ; then + AC_CACHE_CHECK([for uintXX_t types], ac_cv_have_uintxx_t, [ + AC_TRY_COMPILE(