Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/arping/files: arping-2.15-setgroups.patch
Date: Sat, 25 Apr 2015 12:10:49
Message-Id: 20150425121040.040C216B55@oystercatcher.gentoo.org
1 jer 15/04/25 12:10:38
2
3 Added: arping-2.15-setgroups.patch
4 Log:
5 Fix includes for setgroups.
6
7 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key A792A613)
8
9 Revision Changes Path
10 1.1 net-analyzer/arping/files/arping-2.15-setgroups.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/arping/files/arping-2.15-setgroups.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/arping/files/arping-2.15-setgroups.patch?rev=1.1&content-type=text/plain
14
15 Index: arping-2.15-setgroups.patch
16 ===================================================================
17 --- a/configure.ac
18 +++ b/configure.ac
19 @@ -35,6 +35,7 @@
20 stdlib.h \
21 sys/socket.h \
22 time.h \
23 +grp.h \
24 sys/time.h \
25 sys/types.h \
26 sys/capability.h \
27 --- a/src/arping.c
28 +++ b/src/arping.c
29 @@ -98,6 +98,10 @@
30 #endif
31 #include <pcap.h>
32
33 +#if HAVE_GRP_H
34 +#include <grp.h>
35 +#endif
36 +
37 #include "arping.h"
38
39 #ifndef ETH_ALEN