Files
Ryan Carsten Schmidt 093051eb20 nxcomp: Reorganize so patch.dir is top-level dir
This allows files in the top-level dir, like version.sh, to be patched,
should the need arise.
2024-12-20 10:22:10 -06:00

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()