Index: head/devel/kaptain/files/patch-communication.cpp =================================================================== --- head/devel/kaptain/files/patch-communication.cpp (nonexistent) +++ head/devel/kaptain/files/patch-communication.cpp (revision 478159) @@ -0,0 +1,15 @@ +communication.cpp:108:32: error: invalid operands to binary expression ('__bind' and 'int') + sizeof (struct sockaddr)) == -1) + ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~ + +--- communication.cpp.orig 2018-08-26 18:50:21 UTC ++++ communication.cpp +@@ -104,7 +104,7 @@ bool Communicator::setup_socket_server(string port_str + memset(&(my_addr.sin_zero), '\0', 8); // zero the rest of the struct + + /* bind */ +- if (bind(socket_fd, (struct sockaddr *)&my_addr, ++ if (::bind(socket_fd, (struct sockaddr *)&my_addr, + sizeof (struct sockaddr)) == -1) + { + MAKE_ERROR(string("bind: ")+string(strerror(errno))+string(".\n")); Property changes on: head/devel/kaptain/files/patch-communication.cpp ___________________________________________________________________ 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