[Bug 229653] [PATCH] graphics/sane-backends: Make update to 1.0.27 build
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Aug 27 20:44:06 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229653
--- Comment #8 from Peter Wullinger <freebsd at dhke.de> ---
(In reply to Nathan from comment #6)
With your patch I get
epsonds.c:234:4: warning: implicit declaration of function 'setsockopt' is
invalid in C99 [-Wimplicit-function-declaration]
setsockopt(s->fd, SOL_SOCKET, SO_RCVTIMEO, (char *)&tv,
sizeof(tv));
^
epsonds.c:234:22: error: use of undeclared identifier 'SOL_SOCKET'
setsockopt(s->fd, SOL_SOCKET, SO_RCVTIMEO, (char *)&tv,
sizeof(tv));
^
epsonds.c:234:34: error: use of undeclared identifier 'SO_RCVTIMEO'
setsockopt(s->fd, SOL_SOCKET, SO_RCVTIMEO, (char *)&tv,
sizeof(tv));
for me. Presumably, because the patch missing the respective changes to include
sys/socket.h:
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=195006&action=diff#graphics/sane-backends/files/patch-backend__epsonds.c_sec1
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list