net/stund: fix build on current
PR: 225455 Submitted by: Walter Schwarzenfeld <w.schwarzenfeld@utanet.at> Approved by: sobomax (maintainer timeout)
This commit is contained in:
parent
f77bf40c09
commit
c0d5a5d4f6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=474396
1 changed files with 11 additions and 0 deletions
11
net/stund/files/patch-udp.cxx
Normal file
11
net/stund/files/patch-udp.cxx
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- 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();
|
||||
|
Loading…
Reference in a new issue