Bug 186304 - net-wireless/wepdecrypt-0.8 fails with as-needed (patch included)
Bug#: 186304 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: crypto@gentoo.org Reported By: ikelos@gentoo.org
Component: Applications
URL: 
Summary: net-wireless/wepdecrypt-0.8 fails with as-needed (patch included)
Keywords:  
Status Whiteboard: 
Opened: 2007-07-23 07:52 0000
Description:   Opened: 2007-07-23 07:52 0000
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 From Mike Auty 2007-07-23 07:53:22 0000 -------
Created an attachment (id=125726) [details]
wepdecrypt-0.8-as-needed.patch

------- Comment #2 From Mike Auty 2007-07-23 11:03:44 0000 -------
Ok, just committed the fix.  Please re-open this bug if there are any problems
with the patch...  5:)