Bug 56460

Summary: [patch] update port audio/rawrec 0.9.97_3 -> 0.9.98 + fix build
Product: Ports & Packages Reporter: Simon Barner <barner>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Simon Barner 2003-09-04 22:10:16 UTC
This patch updates rawrec to version 0.9.98 and makes it build (tested
on -STABLE with gcc 2.95.4 and 3.3.1).

The patches include:
 - replace nearbyint with rint
 - Comment out sections enclose by
   #ifdef _POSIX_THREAD_PRIORITY_SCHEDULING \
     && _POSIX_THREAD_PRIORITY_SCHEDULING != -1 \
     && _POSIX_THREAD_PRIORITY_SCHEDULING != 0
   
   since <sys/unistd.h> contains an empty define
   #define _POSIX_THREAD_PRIORITY_SCHEDULING
   which triggers a syntax error.
 - remove patch from PR. 44951 since -STABLE does not
   define _POSIX_MEMLOCK any long and -CURRENT defines it as -1
   which understood correctly by rawrec 0.9.98

Fix: Apply the following patch to the ports' directory:
Comment 1 Kirill Ponomarev freebsd_committer freebsd_triage 2003-09-04 22:38:47 UTC
State Changed
From-To: open->closed

Committed, thanks!