Bug 56460 - [patch] update port audio/rawrec 0.9.97_3 -> 0.9.98 + fix build
Summary: [patch] update port audio/rawrec 0.9.97_3 -> 0.9.98 + fix build
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-04 22:10 UTC by Simon Barner
Modified: 2003-09-04 22:38 UTC (History)
0 users

See Also:


Attachments
file.diff (5.13 KB, patch)
2003-09-04 22:10 UTC, Simon Barner
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!