Summary: | ASTERISK-05020: [patch] General fixes to make CVS-HEAD compile on NetBSD and FreeBSD, possibly others. | ||
Reporter: | Jonathan Towne (jontow) | Labels: | |
Date Opened: | 2005-09-08 01:20:17 | Date Closed: | 2008-01-15 15:48:02.000-0600 |
Priority: | Trivial | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) 5155.rev2.txt ( 1) portchg-take1.diff | |
Description: | --top-level Makefile now looks for zaptel.h in /usr/pkg/include as well. --channels/Makefile also has that change, as well as adding a test for NetBSD to look in -L/usr/pkg/lib for libtonezone, and a test for FreeBSD to look in -L/usr/local/lib for libtonezone. --channels/chan_zap.c now disincludes sys/signal.h and includes pthread.h / signal.h for NetBSD. --utils/streamplayer.c now has a test added for NetBSD to include netinet/in.h ****** ADDITIONAL INFORMATION ****** These are all portability changes only, they have been tested on my Linux, FreeBSD, and NetBSD dev. boxes with no problems noticed. Comments welcome! | ||
Comments: | By: Jonathan Towne (jontow) 2005-09-08 01:34:23 Also see bug id's: 5003, 5008, 5019 regarding the streamplayer.c fix included in the patch above. By: Olle Johansson (oej) 2005-09-08 07:49:42 Do you have zaptel on Netbsd? Cool. By: Jonathan Towne (jontow) 2005-09-08 09:30:34 http://www.tastylime.net/netbsd/zaptel/ Compliments of Jeff Rizzo (riz@netbsd.org) (Great work, but unfinished--he ran out of time) By: Michael Jerris (mikej) 2005-09-12 23:27:54 Rolled ASTERISK-5066 into this and updated for cvs head. By: Kevin P. Fleming (kpfleming) 2005-09-13 21:13:15 Committed to CVS HEAD, thanks! By: Digium Subversion (svnbot) 2008-01-15 15:48:02.000-0600 Repository: asterisk Revision: 6578 U trunk/Makefile U trunk/channels/Makefile U trunk/channels/chan_zap.c U trunk/utils/streamplayer.c ------------------------------------------------------------------------ r6578 | kpfleming | 2008-01-15 15:48:01 -0600 (Tue, 15 Jan 2008) | 2 lines more BSD portability fixes (issue ASTERISK-5020) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=6578 |