SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
14
graphics/mandelbulber/patches/patch-src_netrender_cpp
Normal file
14
graphics/mandelbulber/patches/patch-src_netrender_cpp
Normal file
|
@ -0,0 +1,14 @@
|
|||
Correctly qualify bind
|
||||
|
||||
Index: src/netrender.cpp
|
||||
--- src/netrender.cpp.orig
|
||||
+++ src/netrender.cpp
|
||||
@@ -92,7 +92,7 @@ bool CNetRender::SetServer(char *portNo, char *statusO
|
||||
sizeof(timeout)) < 0)
|
||||
std::cout << "socket options error " << strerror(errno);
|
||||
|
||||
- status = bind(socketfd, host_info_list->ai_addr, host_info_list->ai_addrlen);
|
||||
+ status = ::bind(socketfd, host_info_list->ai_addr, host_info_list->ai_addrlen);
|
||||
if (status == -1)
|
||||
{
|
||||
std::cout << "bind error" << std::endl ;
|
Loading…
Add table
Add a link
Reference in a new issue