[Bug 235302] net/libvncserver: error: use of undeclared identifier 'AF_INET'
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Jan 29 18:01:31 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235302
Bug ID: 235302
Summary: net/libvncserver: error: use of undeclared identifier
'AF_INET'
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: araujo at FreeBSD.org
Reporter: ohartmann at walstatt.org
Assignee: araujo at FreeBSD.org
Flags: maintainer-feedback?(araujo at FreeBSD.org)
Recent ports tree update renders port compilation of net/libvncserver failure
with the error shown below; building host is CURRENT (FreeBSD 13.0-CURRENT #127
r343535: Mon Jan 28 21:34:05 CET 2019 amd64):
[...]
/usr/ports/net/libvncserver/work/libvncserver-LibVNCServer-0.9.12/libvncclient/sasl.c:206:9:
warning: implicit declaration of function 'getsockname' is invalid in C99
[-Wimplicit-function-declaration]
if (getsockname(client->sock, (struct sockaddr*)&localAddress,
&addressLength)) {
^
/usr/ports/net/libvncserver/work/libvncserver-LibVNCServer-0.9.12/libvncclient/sasl.c:211:35:
error: use of undeclared identifier 'AF_INET'
if (localAddress.ss_family == AF_INET) {
^
/usr/ports/net/libvncserver/work/libvncserver-LibVNCServer-0.9.12/libvncclient/sasl.c:213:19:
error: use of undeclared identifier 'AF_INET'
inet_ntop(AF_INET, &(sa_in->sin_addr), buf, INET_ADDRSTRLEN);
^
/usr/ports/net/libvncserver/work/libvncserver-LibVNCServer-0.9.12/libvncclient/sasl.c:216:42:
error: use of undeclared identifier 'AF_INET6'
} else if (localAddress.ss_family == AF_INET6) {
^
/usr/ports/net/libvncserver/work/libvncserver-LibVNCServer-0.9.12/libvncclient/sasl.c:218:19:
error: use of undeclared identifier 'AF_INET6'
inet_ntop(AF_INET6, &(sa_in->sin6_addr), buf, INET6_ADDRSTRLEN);
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list