buildtools/patches/openssh/openssh.diff
Ingo Weinhold efa13a3a74 Updated patch and notes. Also added the optional package description and
the post install script.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@25312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-04 13:35:41 +00:00

21 lines
712 B
Diff

Patch against OpenSSH 5.0p1 to add Haiku support.
Date: 2008-05-04
diff -urN openssh-5.0p1-orig/configure.ac openssh-5.0p1/configure.ac
--- openssh-5.0p1-orig/configure.ac 2008-03-27 01:33:07.000000000 +0000
+++ openssh-5.0p1/configure.ac 2008-05-04 00:29:35.000000000 +0000
@@ -468,6 +468,13 @@
*-*-dragonfly*)
SSHDLIBS="$SSHDLIBS -lcrypt"
;;
+*-*-haiku*)
+ CPPFLAGS="$CPPFLAGS -I/boot/develop/headers/bsd"
+ LIBS="$LIBS -lbsd -lnetwork"
+ dnl u_int64_t is defined, just not through <sys/types.h>
+ AC_DEFINE(HAVE_U_INT64_T)
+ 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"