Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 113102

Summary: net-misc/nx-x11-1.4.0-r4 compilation with gcc4 (patch)
Product: Gentoo Linux Reporter: Rafael <Tiger683>
Component: [OLD] GCC PortingAssignee: Gentoo NX Server project <nx>
Status: RESOLVED FIXED    
Severity: normal CC: halcy0n
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://forums.gentoo.org/viewtopic-p-2890165.html#2890165
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: nx-x11-1.4.0-gcc4.patch
gcc-4.0 patch

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.