From 927ab4d5dc6c90cfa0f7b02e62a8928a07058110 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 4 Jun 2011 14:12:34 +0000 Subject: [PATCH] [packages] iputils: fix ping6 compilation, the missing in6_pktinfo structure is protected by a _GNU_SOURCE feature macro SVN-Revision: 27108 --- net/iputils/patches/011-ping6_use_gnu_source.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 net/iputils/patches/011-ping6_use_gnu_source.patch diff --git a/net/iputils/patches/011-ping6_use_gnu_source.patch b/net/iputils/patches/011-ping6_use_gnu_source.patch new file mode 100644 index 0000000000..dc61b8c22f --- /dev/null +++ b/net/iputils/patches/011-ping6_use_gnu_source.patch @@ -0,0 +1,11 @@ +--- a/ping6.c ++++ b/ping6.c +@@ -66,6 +66,8 @@ char copyright[] = + * More statistics could always be gathered. + * This program has to run SUID to ROOT to access the ICMP socket. + */ ++ ++#define _GNU_SOURCE + #include "ping_common.h" + + #include -- 2.30.2