Package: rpcbind / 0.2.3-0.6

04-610718-non-linux.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: rpcbind-0.2.1/src/security.c
===================================================================
--- rpcbind-0.2.1.orig/src/security.c
+++ rpcbind-0.2.1/src/security.c
@@ -53,7 +53,7 @@ int deny_severity = LIBWRAP_DENY_FACILIT
 #ifndef PORTMAP_LOG_SEVERITY
 # define PORTMAP_LOG_SEVERITY LOG_INFO
 #endif
-#ifdef __linux__
+#if defined(INET6) && !defined(IPV6PORT_RESERVED)
  #define IPV6PORT_RESERVED IPPORT_RESERVED
 #endif