mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 19:20:08 +02:00
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.
This commit is contained in:
24
net-misc/putty/putty-0.60-haiku.diff
Normal file
24
net-misc/putty/putty-0.60-haiku.diff
Normal file
@@ -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 <sys/types.h>
|
||||
-#include <utmp.h>])
|
||||
+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])
|
||||
|
||||
Reference in New Issue
Block a user