diff options
| author | Philip Balister <philip@balister.org> | 2007-08-27 21:17:49 +0000 |
|---|---|---|
| committer | Philip Balister <philip@balister.org> | 2007-08-27 21:17:49 +0000 |
| commit | 5522ece8da310438a9c65aeaa50b86f161540f46 (patch) | |
| tree | e8ea8fa4174003fef1f1f15a5bc001cef7f87e5c /packages/portmap/portmap-6.0/no-tcpd-support.patch | |
| parent | f75321ab96544448059ecb2a5910db00ce3f7e74 (diff) | |
| parent | 19d1ceccd6b74ae0a084b8bb41da040d3dc5b2bf (diff) | |
merge of '610425fd34abfbbedaf9b3792ed2d884bdda9fd3'
and '9b318dc0ed758bbc0cbe978a0ff4471831b1df53'
Diffstat (limited to 'packages/portmap/portmap-6.0/no-tcpd-support.patch')
| -rw-r--r-- | packages/portmap/portmap-6.0/no-tcpd-support.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/packages/portmap/portmap-6.0/no-tcpd-support.patch b/packages/portmap/portmap-6.0/no-tcpd-support.patch new file mode 100644 index 0000000000..da55f3799d --- /dev/null +++ b/packages/portmap/portmap-6.0/no-tcpd-support.patch @@ -0,0 +1,28 @@ +From: Mike Frysinger <vapier@gentoo.org> +Date: Sun, 13 May 2007 21:17:32 +0000 (-0400) +Subject: fix building with tcpd support disabled +X-Git-Url: http://neil.brown.name/git?p=portmap;a=commitdiff_plain;h=7847207aed1b44faf077eed14a9ac9c68244eba5 + +fix building with tcpd support disabled + +Make sure pmap_check.c only includes tcpd.h when HOSTS_ACCESS is defined. + +Signed-off-by: Timothy Redaelli <drizzt@gentoo.org> +Signed-off-by: Mike Frysinger <vapier@gentoo.org> +Signed-off-by: Neil Brown <neilb@suse.de> +--- + +diff --git a/pmap_check.c b/pmap_check.c +index 84f2c12..443a822 100644 +--- a/pmap_check.c ++++ b/pmap_check.c +@@ -44,7 +44,9 @@ + #include <netinet/in.h> + #include <rpc/rpcent.h> + #endif ++#ifdef HOSTS_ACCESS + #include <tcpd.h> ++#endif + #include <arpa/inet.h> + #include <grp.h> + |
