[asterisk-bugs] [Asterisk 0013557]: [patch] Asterisk won't compile against uclibc
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Sep 25 17:11:39 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=13557
======================================================================
Reported By: nickpeirson
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 13557
Category: Core/PBX
Reproducibility: always
Severity: minor
Priority: normal
Status: new
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 144419
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 2008-09-25 10:34 CDT
Last Modified: 2008-09-25 17:11 CDT
======================================================================
Summary: [patch] Asterisk won't compile against uclibc
Description:
index is used in main/pbx.c. This breaks compilation under uclibc as it
doesn't provide the index function. Replacing this with strchr, which index
is an alias for, solves the problem.
======================================================================
----------------------------------------------------------------------
(0092876) svnbot (reporter) - 2008-09-25 17:11
http://bugs.digium.com/view.php?id=13557#c92876
----------------------------------------------------------------------
Repository: asterisk
Revision: 144569
U trunk/apps/app_playback.c
U trunk/channels/chan_oss.c
U trunk/funcs/func_cut.c
U trunk/main/pbx.c
------------------------------------------------------------------------
r144569 | murf | 2008-09-25 17:11:38 -0500 (Thu, 25 Sep 2008) | 14 lines
(closes issue http://bugs.digium.com/view.php?id=13557)
Reported by: nickpeirson
The user attached a patch, but the license is not yet
recorded. I took the liberty of finding and replacing
ALL index() calls with strchr() calls, and that
involves more than just main/pbx.c;
chan_oss, app_playback, func_cut also had calls
to index(), and I changed them out. 1.4 had no
references to index() at all.
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=144569
Issue History
Date Modified Username Field Change
======================================================================
2008-09-25 17:11 svnbot Checkin
2008-09-25 17:11 svnbot Note Added: 0092876
======================================================================
More information about the asterisk-bugs
mailing list