aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iputils/patches/011-ping6_use_gnu_source.patch
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-10-10 13:22:18 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-10-10 13:22:18 +0000
commit3443e6d7375e839680fa7ef892bf8021d056d94b (patch)
tree77377f2dff81a2effe4acba142e3d7becbce501e /package/network/utils/iputils/patches/011-ping6_use_gnu_source.patch
parent630dbab6498fc2a5a36385c8ababea1e837650ad (diff)
downloadmaster-187ad058-3443e6d7375e839680fa7ef892bf8021d056d94b.tar.gz
master-187ad058-3443e6d7375e839680fa7ef892bf8021d056d94b.tar.bz2
master-187ad058-3443e6d7375e839680fa7ef892bf8021d056d94b.zip
iputils: move to trunk and add myself as maintainer
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33704 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/utils/iputils/patches/011-ping6_use_gnu_source.patch')
-rw-r--r--package/network/utils/iputils/patches/011-ping6_use_gnu_source.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/network/utils/iputils/patches/011-ping6_use_gnu_source.patch b/package/network/utils/iputils/patches/011-ping6_use_gnu_source.patch
new file mode 100644
index 0000000000..dc61b8c22f
--- /dev/null
+++ b/package/network/utils/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 <linux/filter.h>