[Home]

Summary:ASTERISK-02103: [patch] Port to Darwin 6.8/ OS X 10.3
Reporter:rich (rich)Labels:
Date Opened:2004-07-25 18:37:10Date Closed:2011-06-07 14:05:18
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) Darwin6.8-diff.txt
Description:Patches for Darwin Version 6.8

Darwin doesn't have poll(), so #include
asterisk/poll-compat.h rather than sys/poll.h.

#ifdef __APPLE__ #include <sys/stat.h> in
apps/app_sms.c to obtain mkdir() declaration.

Don't redefine Check QUAD_MIN/MAX if they are
already suplied by the system in ast_expr.y.

bison version 1.28 doesn't support %location,
so in Makefile, check for bison version 1.28
number and tell the user to upgrade if found.

Darwin's sys/param.h defines BSD, so use it
in include/asterisk/lock.h to select BSD
style locking.

Cheers,
Rich
Comments:By: Mark Spencer (markster) 2004-07-25 18:39:02

Does this mean we drop compatibility with the previous darwins?

By: rich (rich) 2004-07-25 18:48:59

I didn't know previos versions were working, and wouldn't want to break them.

What's the highest version number know to build?  I'll add conditionals to discriminate between the versions.

By: rich (rich) 2004-07-25 19:12:23

I'll be able to install some older versions of Darwin (601, 6.6) and check them when I get back on the 10th.  Feel free to close this till then or let others carry it forward if we don't have enough info to prevent breakage meanwhile!

Cheers,
Rich

By: Olle Johansson (oej) 2004-08-14 15:42:32

Gentle reminder sent to Rich.

By: twisted (twisted) 2004-08-25 18:25:06

closed due to 21 days without real activity, 10 since last reminder, and ok'd by Rich.