portmap-6.0-tcpd.patch 341 B

123456789101112131415161718
  1. Enable compile without tcp-wrappers
  2. Patch by Timothy Redaelli <drizzt@gentoo.org>
  3. http://bugs.gentoo.org/178242
  4. --- portmap_6.0/pmap_check.c
  5. +++ portmap_6.0/pmap_check.c
  6. @@ -44,7 +44,9 @@
  7. #include <netinet/in.h>
  8. #include <rpc/rpcent.h>
  9. #endif
  10. +#ifdef HOSTS_ACCESS
  11. #include <tcpd.h>
  12. +#endif
  13. #include <arpa/inet.h>
  14. #include <grp.h>