ports/security/putty/files/patch-unix_uxnet.c
Matthias Andree 4c5a117abd Update security/putty to 0.71 security fix release
Unfortunately, this new release breaks GSSAPI_NONE, which is removed
for now. Bug has been reported upstream.

Changelog: https://www.chiark.greenend.org.uk/~sgtatham/putty/changes.html

MFH:		2019Q1
Security:	46e1ece5-48bd-11e9-9c40-080027ac955c
2019-03-17 14:17:26 +00:00

16 lines
355 B
C

--- unix/uxnet.c.orig 2019-03-16 12:26:37 UTC
+++ unix/uxnet.c
@@ -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>