Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
bd10fe59
Commit
bd10fe59
authored
Feb 09, 2015
by
Mihai Moldovan
Committed by
Mike Gabriel
Feb 09, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix BIGENDIAN issue in nxcomp (relevant on PPC64 arch) (029_nxcomp_ppc64.full+lite.patch)
parent
f6619070
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
20 deletions
+2
-20
029_nxcomp_ppc64.full+lite.patch
debian/patches/029_nxcomp_ppc64.full+lite.patch
+0
-17
series
debian/patches/series
+0
-1
Loop.cpp
nxcomp/Loop.cpp
+2
-2
No files found.
debian/patches/029_nxcomp_ppc64.full+lite.patch
deleted
100644 → 0
View file @
f6619070
Description: Fix BIGENDIAN issue in nxcomp (relevant on PPC64 arch)
Author: Mihai Moldovan <ionic@ionic.de>
--- 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)
{
debian/patches/series
View file @
bd10fe59
029_nxcomp_ppc64.full+lite.patch
030_nx-X11_configure-args.full.patch
031_nx-X11_parallel-make.full.patch
051_nxcomp_macos105-fdisset.full+lite.patch
...
...
nxcomp/Loop.cpp
View file @
bd10fe59
...
...
@@ -6832,9 +6832,9 @@ int WaitForRemote(int portNum)
{
sockaddr_in
newAddr
;
s
ize
_t
addrLen
=
sizeof
(
sockaddr_in
);
s
ocklen
_t
addrLen
=
sizeof
(
sockaddr_in
);
newFD
=
accept
(
proxyFD
,
(
sockaddr
*
)
&
newAddr
,
(
socklen_t
*
)
&
addrLen
);
newFD
=
accept
(
proxyFD
,
(
sockaddr
*
)
&
newAddr
,
&
addrLen
);
if
(
newFD
==
-
1
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment