Package: rpcbind Version: 0.2.0-4.1 Severity: normal Tags: patch upstream Justification: fails to build from source
FreeBSD with glibc, like Linux with glibc, does not define IPV6PORT_RESERVED, so... -- System Information: Debian Release: 6.0 APT prefers testing APT policy: (500, 'testing') Architecture: kfreebsd-i386 (i686) Kernel: kFreeBSD 8.1-1-686 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages rpcbind depends on: ii libc0.1 2.11.2-7 Embedded GNU C Library: Shared lib ii libtirpc1 0.2.1-1 transport-independent RPC library ii libwrap0 7.6.q-19 Wietse Venema's TCP wrappers libra ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip rpcbind recommends no packages. rpcbind suggests no packages. -- no debconf information
Index: rpcbind-0.2.0/src/security.c =================================================================== --- rpcbind-0.2.0.orig/src/security.c 2011-01-17 08:57:29.000000000 -0500 +++ rpcbind-0.2.0/src/security.c 2011-01-17 09:01:00.388245403 -0500 @@ -53,7 +53,7 @@ #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