diff options
author | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
---|---|---|
committer | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
commit | 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch) | |
tree | b9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/portmap/patches/patch-pmap_check_c |
Initial import
Diffstat (limited to 'package/portmap/patches/patch-pmap_check_c')
-rw-r--r-- | package/portmap/patches/patch-pmap_check_c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/package/portmap/patches/patch-pmap_check_c b/package/portmap/patches/patch-pmap_check_c new file mode 100644 index 000000000..9dc7cd67f --- /dev/null +++ b/package/portmap/patches/patch-pmap_check_c @@ -0,0 +1,16 @@ +$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ + +* do not include tcpd.h, when hosts access disabled + +--- portmap_6.0.orig/pmap_check.c 2007-05-11 05:02:10.000000000 +0200 ++++ portmap_6.0/pmap_check.c 2009-04-24 12:26:06.041879543 +0200 +@@ -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> + |