| 1 | Taken from https://salsa.debian.org/debian/rpcbind/-/raw/master/debian/patches/04-610718-non-linux.patch |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | #ifndef PORTMAP_LOG_SEVERITY |
| 7 | # define PORTMAP_LOG_SEVERITY LOG_INFO |
| 8 | #endif |
| 9 | -#ifdef __linux__ |
| 10 | +#if defined(INET6) && !defined(IPV6PORT_RESERVED) |
| 11 | #define IPV6PORT_RESERVED IPPORT_RESERVED |
| 12 | #endif |
| 13 |