projects/guix·blob python-team · refs

13 lines · 367 B

1Taken from https://salsa.debian.org/debian/rpcbind/-/raw/master/debian/patches/04-610718-non-linux.patch
2
3--- a/src/security.c
4+++ b/src/security.c
5@@ -63,7 +63,7 @@
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