Bug 221817 - >=gnome-extra/sensors-applet-2.2.1 needs to filter LDFLAG --as-needed when USE=nvidia is used
|
Bug#:
221817
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: gnome@gentoo.org
|
Reported By: liquitsnake@gmx.net
|
|
Component: Applications
|
|
|
URL:
https://sourceforge.net/tracker2/?func=detail&aid=2672290&group_id=128538&atid=711980
|
|
Summary: >=gnome-extra/sensors-applet-2.2.1 needs to filter LDFLAG --as-needed when USE=nvidia is used
|
|
Keywords: NeedPatch
|
|
Status Whiteboard:
|
|
Opened: 2008-05-12 11:48 0000
|
Using the LDFLAG --as-needed breaks compatibility with nvidia cards for this
sensor reading program (its configure script to be more precise). This is only
relevant when USE=nvidia is used.
Using this LDFLAG results in:
checking for XNVCTRLQueryExtension in -lXNVCtrl... no
although it's there. Without you get:
checking for XNVCTRLQueryExtension in -lXNVCtrl... yes
Simply filtering the LDFLAG will do the job. I don't possess enough knowledge
to determine if bug 207543 is related in any kind of way.
No this is NOT FIXED since it's just worked around in the tree.
hey there, I really need this patch tested before I start to revert the fix in
tree blindly and you complaining things broke again.
Oh, I'm sorry. I completely forgot about this bug :(
Yes, I've tested the patches. The ebuild fails though. It tries to apply the
patch before the sources are unpacked.
d'oh, my bad, could you put those lines in a src_unpack (and make sure to
remove the append-ldflags line) ?
I'm sorry I couldn't figure this out, but in src_unpack emerge says "Unpacking
Sources" and then proceeds to try to patch. So we still have no sources to base
the patch on :(
And what do you mean by remove append-ldflags? The ebuild-patch already did
this :)
oops, you want to stick EAPI="2" before the inherit line too.
Created an attachment (id=183469) [details]
compilation output
Ah, it was src_prepare. Should've tried that aswell :[
Well, okay. Both hunks in the patch fail for some reason, although I don't see
why. So I patched by hand.
Compilation fails tho (see attachment)
then that would be bug #207543.
Thanks for testing, I'll include that to the tree as soon as possible (with a
fix for the other bug if possible).
2.2.2 in tree with this fix. Thanks for testing. Please reopen if it's still an
issue for you.