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
36f4e34b
Commit
36f4e34b
authored
Jun 15, 2014
by
Mike Gabriel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add 029_nxcomp_ppc64.full+lite.patch. Fix sockaddr handling on Big Endian…
Add 029_nxcomp_ppc64.full+lite.patch. Fix sockaddr handling on Big Endian systems (like PPC64). (Fixes: #515).
parent
75987a76
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
0 deletions
+19
-0
changelog
debian/changelog
+2
-0
029_nxcomp_ppc64.full+lite.patch
debian/patches/029_nxcomp_ppc64.full+lite.patch
+16
-0
series
debian/patches/series
+1
-0
No files found.
debian/changelog
View file @
36f4e34b
...
...
@@ -15,6 +15,8 @@ nx-libs (2:3.5.0.25-0x2go1) UNRELEASED; urgency=low
* Add 302_nx-X11_xkbbasedir-detection.patch. For detecting XkbBaseDir
test for xkb/rules/base instead of testing for deprecated file
xkb/keymap.dir. (Fixes: #40).
* Add 029_nxcomp_ppc64.full+lite.patch. Fix sockaddr handling on
Big Endian systems (like PPC64). (Fixes: #515).
-- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Wed, 07 May 2014 09:58:10 +0200
...
...
debian/patches/029_nxcomp_ppc64.full+lite.patch
0 → 100644
View file @
36f4e34b
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)
{
debian/patches/series
View file @
36f4e34b
...
...
@@ -24,6 +24,7 @@
026_nxcompshad_honour-optflags.full.patch
027_nxcomp_abstract-X11-socket.full+lite.patch
028_nx-X11_abstract-kernel-sockets.full.patch
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
...
...
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