diff options
author | hrs <hrs@FreeBSD.org> | 2013-10-03 16:04:45 +0800 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2013-10-03 16:04:45 +0800 |
commit | 8d6b589da41e609c6bdc8baf6cf5bb23ff1c5118 (patch) | |
tree | a775ceb3ba4db7d5ab56d6401c256a4416204a44 /security | |
parent | c236788e99e89327ff2f27ce88bc95f9d7ec65b5 (diff) | |
download | freebsd-ports-gnome-8d6b589da41e609c6bdc8baf6cf5bb23ff1c5118.tar.gz freebsd-ports-gnome-8d6b589da41e609c6bdc8baf6cf5bb23ff1c5118.tar.zst freebsd-ports-gnome-8d6b589da41e609c6bdc8baf6cf5bb23ff1c5118.zip |
Fix build on 8.x.
Reported by: pkg-fallout
Diffstat (limited to 'security')
-rw-r--r-- | security/ipv6toolkit/files/patch-tools-icmp6.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/security/ipv6toolkit/files/patch-tools-icmp6.c b/security/ipv6toolkit/files/patch-tools-icmp6.c new file mode 100644 index 000000000000..d0840909972b --- /dev/null +++ b/security/ipv6toolkit/files/patch-tools-icmp6.c @@ -0,0 +1,18 @@ +--- tools/icmp6.c.orig 2013-08-27 18:35:24.000000000 +0900 ++++ tools/icmp6.c 2013-10-03 17:02:09.000000000 +0900 +@@ -47,6 +47,7 @@ + #include <netinet/ip6.h> + #include <netinet/icmp6.h> + #include <pwd.h> ++#include <sys/socket.h> + #include <net/if.h> + #include <ifaddrs.h> + #ifdef __linux__ +@@ -54,7 +55,6 @@ + #elif defined (__FreeBSD__) || defined(__NetBSD__) || defined (__OpenBSD__) || defined(__APPLE__) + #include <net/if_dl.h> + #endif +-#include <sys/socket.h> + #include "icmp6.h" + #include "ipv6toolkit.h" + #include <netinet/tcp.h> |