Index: head/news/newscache/files/patch-src_NewsCache.cc =================================================================== --- head/news/newscache/files/patch-src_NewsCache.cc (nonexistent) +++ head/news/newscache/files/patch-src_NewsCache.cc (revision 478614) @@ -0,0 +1,15 @@ +NewsCache.cc:2265:62: error: invalid operands to binary expression ('__bind' and 'int') + if (bind(sock, (struct sockaddr *) &nproxy, sizeof(nproxy)) < 0) { + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ + +--- src/NewsCache.cc.orig 2018-08-31 22:11:06 UTC ++++ src/NewsCache.cc +@@ -2262,7 +2262,7 @@ void nntpd() + } + } /* end create socket and set some socket options */ + +- if (bind(sock, (struct sockaddr *) &nproxy, sizeof(nproxy)) < 0) { ++ if (::bind(sock, (struct sockaddr *) &nproxy, sizeof(nproxy)) < 0) { + slog. + p(Logger:: + Error) << "can't bind socket: " << strerror(errno) << Property changes on: head/news/newscache/files/patch-src_NewsCache.cc ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property