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

Bug 186304

Summary: net-wireless/wepdecrypt-0.8 fails with as-needed (patch included)
Product: Gentoo Linux Reporter: Mike Auty (RETIRED) <ikelos>
Component: Current packagesAssignee: Crypto team [DISABLED] <crypto+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 129413    
Attachments: wepdecrypt-0.8-as-needed.patch

Description Mike Auty (RETIRED) gentoo-dev 2007-07-23 07:52:30 UTC
Hiya, just a quick note to say that wepdecrypt builds the wkeygen file with the libraries listed before the wkeygen.c file.  That means that --as-needed removes the libraries before they're referenced causing errors during the linking stage.  The patch simply re-arranges where the $(LIBS) argument comes in the Makefile.
Comment 1 Mike Auty (RETIRED) gentoo-dev 2007-07-23 07:53:22 UTC
Created attachment 125726 [details, diff]
wepdecrypt-0.8-as-needed.patch
Comment 2 Mike Auty (RETIRED) gentoo-dev 2007-07-23 11:03:44 UTC
Ok, just committed the fix.  Please re-open this bug if there are any problems with the patch...  5:)