Changes between Initial Version and Version 3 of Ticket #3144


Ignore:
Timestamp:
Mar 24, 2016, 2:08:58 PM (8 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3144

    • Property Status changed from new to closed
    • Property Port cdrtools added
    • Property Resolution changed from to fixed
    • Property Summary changed from cdrtools 2.01: cdda2wav does not build to BUG: cdrtools 2.01: cdda2wav does not build
  • Ticket #3144 – Description

    initial v3  
    1 PROBLEM
     1PROBLEM\\
    22The cdda2wav program, part of the cdrtools 2.01 port, fails to link on Darwin 8.1.0 (Mac OS X 10.4)
    33with the error:
    44
     5{{{
    56...
    67/usr/bin/ld: warning prebinding disabled because of undefined symbols
     
    1011gnumake[1]: *** [OBJ/powerpc-darwin-cc/cdda2wav] Error 1
    1112...
     13}}}
    1214
    1315The port continues to build and is installed successfully, with the exception of cdda2wav.
    1416
    15 CAUSE
     17CAUSE\\
    1618System function sched_setscheduler is not available in Darwin 8.1.0; in /usr/include/unistd.h,
    1719_POSIX_PRIORITY_SCHEDULING is defined to be -1. However, in cdda2wav.c there is only a check
     
    1921sched_setscheduler is included in the code.
    2022
    21 SOLUTION
     23SOLUTION\\
    2224Extend the check of _POSIX_PRIORITY_SCHEDULING with a test of its value, for example:
    2325
    2426======== patch for cdrtools-2.01/cdda2wav/cdda2wav.c ========
     27{{{
    2528--- cdda2wav/cdda2wav.c.orig    2004-08-24 17:06:14.000000000 +0200
    2629+++ cdda2wav/cdda2wav.c 2005-05-19 17:18:14.000000000 +0200
     
    3437 
    3538 static void
     39}}}
    3640======== end of patch for cdrtools-2.01/cdda2wav/cdda2wav.c ========