Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113102 - net-misc/nx-x11-1.4.0-r4 compilation with gcc4 (patch)
Summary: net-misc/nx-x11-1.4.0-r4 compilation with gcc4 (patch)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo NX Server project
URL: http://forums.gentoo.org/viewtopic-p-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-20 10:32 UTC by Rafael
Modified: 2005-12-23 15:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
nx-x11-1.4.0-gcc4.patch (nx-x11-1.4.0-gcc4.patch,5.77 KB, patch)
2005-11-20 10:33 UTC, Rafael
Details | Diff
gcc-4.0 patch (nx-x11-1.4.0-gcc4.patch,384 bytes, patch)
2005-12-04 01:25 UTC, Mark Loeser (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael 2005-11-20 10:32:12 UTC
A user in unsupported software forums reported net-misc/nx-x11-1.4.0-r4
does not compile with gcc-4.0.2.
I have also been able to reproduce the bug with gcc-4.1.0_beta20051112 and baked 
a patch just for being done
(I don't use nx-x11 myself)

Reproducible: Always
Steps to Reproduce:
1.emerge nx-x11 with (gcc >= 4.0.2 ?)


Actual Results:  
Compilation stops as in linked post on the forums

Expected Results:  
nx-x11 compiles and installs
Comment 1 Rafael 2005-11-20 10:33:20 UTC
Created attachment 73261 [details, diff]
nx-x11-1.4.0-gcc4.patch
Comment 2 Rafael 2005-11-20 10:35:42 UTC
Comment on attachment 73261 [details, diff]
nx-x11-1.4.0-gcc4.patch

In the ebuild, apply with
cd ${WORKDIR}
epatch ${FILESDIR}/nx-x11-1.4.0-gcc4.patch
directly before cd ${S} in src_unpack()
Comment 3 Mark Loeser (RETIRED) gentoo-dev 2005-12-04 01:25:06 UTC
Created attachment 74034 [details, diff]
gcc-4.0 patch

This patch is a lot more simple and accomplishes the same thing.
Comment 4 Mark Loeser (RETIRED) gentoo-dev 2005-12-23 15:08:32 UTC
Patch added, thanks.