freebsd-ports/net/stund/files/patch-udp.cxx
Kurt Jaeger c0d5a5d4f6 net/stund: fix build on current
PR:		225455
Submitted by:	Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
Approved by:	sobomax (maintainer timeout)
2018-07-10 18:06:16 +00:00

11 lines
303 B
C++

--- udp.cxx.orig 2018-07-10 16:05:16 UTC
+++ udp.cxx
@@ -64,7 +64,7 @@ openPort( unsigned short port, unsigned
}
}
- if ( bind( fd,(struct sockaddr*)&addr, sizeof(addr)) != 0 )
+ if ( ::bind( fd,(struct sockaddr*)&addr, sizeof(addr)) != 0 )
{
int e = getErrno();