mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
This allows files in the top-level dir, like version.sh, to be patched, should the need arise.
17 lines
561 B
Diff
17 lines
561 B
Diff
Fix:
|
|
|
|
Loop.cpp:4224:34: error: invalid operands to binary expression ('__bind<int &, sockaddr *&, unsigned int &>' and 'int')
|
|
|
|
https://github.com/ArcticaProject/nx-libs/issues/1044
|
|
--- nxcomp/src/Loop.cpp.orig 2019-08-27 08:46:39.000000000 -0500
|
|
+++ nxcomp/src/Loop.cpp 2024-11-22 20:22:54.000000000 -0600
|
|
@@ -4221,7 +4221,7 @@
|
|
goto SetupSocketError;
|
|
}
|
|
|
|
- if (bind(newFD, addr, addrlen) == -1)
|
|
+ if (::bind(newFD, addr, addrlen) == -1)
|
|
{
|
|
nxfatal << "Loop: PANIC! Call to bind failed for " << label
|
|
<< ". Error is " << EGET()
|