diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/patches/029_nxcomp_ppc64.full+lite.patch | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/debian/patches/029_nxcomp_ppc64.full+lite.patch b/debian/patches/029_nxcomp_ppc64.full+lite.patch index 8040925ba..f9fd749ee 100644 --- a/debian/patches/029_nxcomp_ppc64.full+lite.patch +++ b/debian/patches/029_nxcomp_ppc64.full+lite.patch @@ -1,16 +1,14 @@ -diff --git a/nxcomp/Loop.cpp b/nxcomp/Loop.cpp
-index c9617c3..955be85 100644
---- a/nxcomp/Loop.cpp
-+++ b/nxcomp/Loop.cpp
-@@ -6854,9 +6854,9 @@ int WaitForRemote(int portNum)
- {
- sockaddr_in newAddr;
-
-- size_t addrLen = sizeof(sockaddr_in);
-+ socklen_t addrLen = sizeof(sockaddr_in);
-
-- newFD = accept(proxyFD, (sockaddr *) &newAddr, (socklen_t *) &addrLen);
-+ newFD = accept(proxyFD, (sockaddr *) &newAddr, &addrLen);
-
- if (newFD == -1)
- {
+--- a/nxcomp/Loop.cpp ++++ b/nxcomp/Loop.cpp +@@ -6832,9 +6832,9 @@ + { + sockaddr_in newAddr; + +- size_t addrLen = sizeof(sockaddr_in); ++ socklen_t addrLen = sizeof(sockaddr_in); + +- newFD = accept(proxyFD, (sockaddr *) &newAddr, (socklen_t *) &addrLen); ++ newFD = accept(proxyFD, (sockaddr *) &newAddr, &addrLen); + + if (newFD == -1) + { |