freebsd-ports/security/putty/files/patch-uxnet.c
Matthias Andree 3f828cc498 - Take over maintainership from beat@ along his suggestion,
permit him to take it back or commit without my approval.
- Update to upstream version 0.61.
- Add OPTIONS for GSSAPI and GTK (both enabled by default).

  NOTE: GSSAPI is currently broken on 9-CURRENT because the
  Kerberos in base expects MD2 which isn't provided by OpenSSL.

- mark BROKEN on OSVERSION >= 900000 when GSSAPI is enabled
- heed CFLAGS, CC, WITH_DEBUG, INSTALL_* settings.
- WITHOUT_X11 is now an alias for WITHOUT_GTK
- drop utmp support, the upstream requires a utmpx implementation that
  FreeBSD does not provide in any version.
- Preliminary clang support (adds files/patch-timing.c)
- Refreshed patches.
2011-07-17 14:18:36 +00:00

16 lines
397 B
C

--- ./uxnet.c.orig 2009-08-07 00:55:15.000000000 +0200
+++ ./uxnet.c 2011-07-17 14:55:44.000000000 +0200
@@ -11,8 +11,13 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
+#ifdef __FreeBSD__
+#include <netinet/in.h>
+#include <arpa/inet.h>
+#else
#include <arpa/inet.h>
#include <netinet/in.h>
+#endif
#include <netinet/tcp.h>
#include <netdb.h>
#include <sys/un.h>