From a80e6551f38ece0437eef8ab014ffe2503fe51cc Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Sat, 7 Feb 2009 22:04:56 +0000 Subject: [PATCH] initial patch for putty, note that this doesn't fix all of the issue, but is a first step towards a patch that will allow for building putty on haiku. Check the portlog to see what else is required to build it. TODO, figure out a cleaner way to handle -lnetwork and a way to check for and skip gtk (if not present), rather that just commenting it out as i have done here. --- net-misc/putty/putty-0.60-haiku.diff | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 net-misc/putty/putty-0.60-haiku.diff diff --git a/net-misc/putty/putty-0.60-haiku.diff b/net-misc/putty/putty-0.60-haiku.diff new file mode 100644 index 000000000..84ffefd8b --- /dev/null +++ b/net-misc/putty/putty-0.60-haiku.diff @@ -0,0 +1,24 @@ +diff -urN putty-0.60/unix/configure.ac putty-0.60-haiku/unix/configure.ac +--- putty-0.60/unix/configure.ac 2009-02-07 20:49:11.000000000 +0000 ++++ putty-0.60-haiku/unix/configure.ac 2009-02-07 21:50:05.000000000 +0000 +@@ -14,14 +14,16 @@ + CFLAGS="$CFLAGS -Wall -Werror" + fi + +-AC_CHECK_HEADERS([utmpx.h sys/select.h],,,[ +-#include +-#include ]) ++AC_CHECK_HEADERS([utmpx.h]) ++AC_CHECK_HEADERS([sys/select.h]) ++AC_CHECK_HEADERS([sys/types.h]) ++AC_CHECK_HEADERS([utmp.h]) + +-AM_PATH_GTK([1.2.0], [all_targets="all-cli all-gtk"], [all_targets="all-cli"]) ++#AM_PATH_GTK([1.2.0], [all_targets="all-cli all-gtk"], [all_targets="all-cli"]) + AC_SUBST([all_targets]) + + AC_SEARCH_LIBS([socket], [xnet]) ++AC_SEARCH_LIBS([socket], [network]) + + AC_CHECK_FUNCS([getaddrinfo ptsname setresuid strsignal updwtmpx]) +