Changes between Initial Version and Version 1 of Ticket #61580, comment 5


Ignore:
Timestamp:
Nov 21, 2020, 2:02:28 AM (3 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #61580, comment 5

    initial v1  
    11Initially the patch didn't work for me: it adds a configure test for `sched_setscheduler` but it surprisingly determined that it was available, and then the build failed as before.
    22
    3 I noticed that the port forces the use of `-flat_namespace -undefined suppress` which has been in the port ever since it was added in 2005 in [8ed1835344effbeda34c7df31fce834174521fcf/macports-ports]. That was right after the release of Mac OS X 10.3. The use of the flat namespace was typical on Mac OS X 10.2 and earlier but in 10.3 and later the two-level namespace should be used instead. After removing the lines that forced the flat namespace, the configure test correctly determines that `sched_setscheduler` doesn't exist and the build succeeds.
     3I noticed that the port forces the use of `-flat_namespace -undefined suppress` which has been in the port ever since it was added in 2005 in [8ed1835344effbeda34c7df31fce834174521fcf/macports-ports]. That was right after the release of Mac OS X ~~10.3~~ 10.4. The use of the flat namespace was typical on Mac OS X 10.2 and earlier but in 10.3 and later the two-level namespace should be used instead. After removing the lines that forced the flat namespace, the configure test correctly determines that `sched_setscheduler` doesn't exist and the build succeeds.