diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:11 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:57 +0100 |
commit | d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612 (patch) | |
tree | f36fe3008f36ff75cbdd31b630f8f13f1f205ebb /meta/recipes-connectivity/portmap/portmap-6.0/tcpd-config.patch | |
parent | caab7fc509bf27706ff3248689f6afd04225cfda (diff) | |
download | poky-d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612.tar.gz |
packages: Separate out most of the remaining packages into recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-connectivity/portmap/portmap-6.0/tcpd-config.patch')
-rw-r--r-- | meta/recipes-connectivity/portmap/portmap-6.0/tcpd-config.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/portmap/portmap-6.0/tcpd-config.patch b/meta/recipes-connectivity/portmap/portmap-6.0/tcpd-config.patch new file mode 100644 index 0000000000..da55f3799d --- /dev/null +++ b/meta/recipes-connectivity/portmap/portmap-6.0/tcpd-config.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From: Mike Frysinger <vapier@gentoo.org> | ||
2 | Date: Sun, 13 May 2007 21:17:32 +0000 (-0400) | ||
3 | Subject: fix building with tcpd support disabled | ||
4 | X-Git-Url: http://neil.brown.name/git?p=portmap;a=commitdiff_plain;h=7847207aed1b44faf077eed14a9ac9c68244eba5 | ||
5 | |||
6 | fix building with tcpd support disabled | ||
7 | |||
8 | Make sure pmap_check.c only includes tcpd.h when HOSTS_ACCESS is defined. | ||
9 | |||
10 | Signed-off-by: Timothy Redaelli <drizzt@gentoo.org> | ||
11 | Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||
12 | Signed-off-by: Neil Brown <neilb@suse.de> | ||
13 | --- | ||
14 | |||
15 | diff --git a/pmap_check.c b/pmap_check.c | ||
16 | index 84f2c12..443a822 100644 | ||
17 | --- a/pmap_check.c | ||
18 | +++ b/pmap_check.c | ||
19 | @@ -44,7 +44,9 @@ | ||
20 | #include <netinet/in.h> | ||
21 | #include <rpc/rpcent.h> | ||
22 | #endif | ||
23 | +#ifdef HOSTS_ACCESS | ||
24 | #include <tcpd.h> | ||
25 | +#endif | ||
26 | #include <arpa/inet.h> | ||
27 | #include <grp.h> | ||
28 | |||