Summary:ASTERISK-01196: Patches to make * compile on OpenBSD
Reporter:thought (thought)Labels:
Date Opened:2004-03-11 11:45:57.000-0600Date Closed:2011-06-07 14:10:26
Versions:Frequency of
Environment:Attachments:( 0) asterisk-20040311.patch
Description:This is a patch set to make Asterisk compile on OpenBSD (3.x) (the resulting code also runs! :-).


Some of the patches were taken from the Wiki, but they were incomplete.
Comments:By: John Todd (jtodd) 2004-03-11 14:23:37.000-0600

I have compiled and tested on both OpenBSD 3.3 and on Linux RH 9.0 without difficulty with these patches.  Works fine.

By: James Golovich (jamesgolovich) 2004-03-11 14:35:50.000-0600

I looked them over and everything looks good.  I'll test them out on a few linux boxes to verify there aren't any problems and commit them to CVS head.

By: John Todd (jtodd) 2004-03-11 22:11:23.000-0600

Well, the only problem I could find is that the safe_asterisk script barfs, but that's only a minor headache.  Perhaps someone could take a look at it to ensure that the right variables are being used so that it works on BSD as well as Linux?

By: Olle Johansson (oej) 2004-03-14 04:24:07.000-0600

the machine/endian.h patch is also needed for FreeBSD.

By: Tilghman Lesher (tilghman) 2004-03-19 16:19:15.000-0600

See bug ASTERISK-996  Closing this one as a dupe.