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

Bug 352985

Summary: net-misc/dahdi-2.4.0 fails to compile against linux 2.6.37
Product: Gentoo Linux Reporter: Peter Fry <peter>
Component: New packagesAssignee: Tony Vroon (RETIRED) <chainsaw>
Status: RESOLVED DUPLICATE    
Severity: normal CC: voip+disabled
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to resolve the issue

Description Peter Fry 2011-01-27 20:08:17 UTC
See http://svnview.digium.com/svn/dahdi?view=revision&revision=9464

"Using semaphores as mutexes was removed from the kernel in 4882720b267b.
Just use straight semaphores now.  'DECLARE_MUTEX()' -> 'DEFINE_SEMAPHORE()'
and 'init_MUTEX()' -> 'sema_init()'."

Patching dahdi-2.4.0 with the diff of revision 9464 fixes the problem.
Comment 1 Peter Fry 2011-01-27 20:09:30 UTC
Created attachment 260882 [details]
Patch to resolve the issue
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2011-03-18 16:38:31 UTC

*** This bug has been marked as a duplicate of bug 351464 ***