Bug 124960 - net/linphone-base does not compile on sparc64 platform.
Summary: net/linphone-base does not compile on sparc64 platform.
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: sparc64 (show other bugs)
Version: 7.0-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-sparc64 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-24 22:30 UTC by Daniel Austin MBCS
Modified: 2008-06-24 22:46 UTC (History)
1 user (show)

See Also:


Attachments
patch-oRTP__src__stun.c (537 bytes, text/plain)
2008-06-24 22:30 UTC, Daniel Austin MBCS
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Austin MBCS 2008-06-24 22:30:01 UTC
	This port fails to compile due to no method of obtaining a random source on sparc64 platforms.
	On 32-bit platforms, some direct assembler is used.
	On sparc64, we take 32-bits of data from /dev/random instead (see patch)

Fix: Add the attached file (patch-oRTP__src__stun.c) into the 'files' folder.
	The patch is automatically applied when building the port.
How-To-Repeat: 	Attempt to compile on sparc64 platform.
Comment 1 Pietro Cerutti freebsd_committer freebsd_triage 2008-06-24 22:43:59 UTC
State Changed
From-To: open->closed

I've committed something similar a few hours ago :) 
http://www.freebsd.org/cgi/cvsweb.cgi/ports/net/linphone-base/files/patch-oRTP-src_stun.c 

Thanks!