Date: Mon, 27 Aug 2018 20:44:04 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 229653] [PATCH] graphics/sane-backends: Make update to 1.0.27 build Message-ID: <bug-229653-7788-qgl4ltRILv@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-229653-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-229653-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229653 --- Comment #8 from Peter Wullinger <freebsd@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 inc= lude sys/socket.h: https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D195006&action=3Ddiff#= graphics/sane-backends/files/patch-backend__epsonds.c_sec1 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229653-7788-qgl4ltRILv>