Bug 154150 - [ patch ] net/asterisk: getifaddrs() misdetected as unavaiable
Summary: [ patch ] net/asterisk: getifaddrs() misdetected as unavaiable
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Florian Smeets
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-19 23:10 UTC by Dan Lukes
Modified: 2011-01-25 00:40 UTC (History)
0 users

See Also:


Attachments
file.diff (304 bytes, patch)
2011-01-19 23:10 UTC, Dan Lukes
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Lukes 2011-01-19 23:10:07 UTC
During the configure phase, the ./configure is trying to detect 
presence of getifaddrs() function

unfortunatelly, the test program miss mandatory includes so compilation failed.
getifaddrs() is claimed unavaiable

The getifaddrs() is used during EID generation. Asterisk can live 
without it, but it needs to be configured manually.

Fix: The necesarry includes needs to be added - then the function will be 
detected properly. The program code itself need not to be changed - the 
required headers are included already. Only configure needs to be added.

There is patch for configure (related to other problems) - the fragment
attached bellow needs to be added to it.
How-To-Repeat: Compile, install, runn, attach to console. Warning about missing EID will be shown.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-01-19 23:10:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->flo

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-01-25 00:34:31 UTC
flo         2011-01-25 00:34:25 UTC

  FreeBSD ports repository

  Modified files:
    net/asterisk         Makefile 
    net/asterisk/files   patch-configure 
  Log:
  - add powerpc to ONLY_FOR_ARCHS [1]
  - help configure find getifaddrs() [2]
  
  PR:             ports/154150 [2]
  Submitted by:   Dan Lukes <dan@obluda.cz> [2]
  Tested by:      andreast [1]
  Feature safe:   yes
  
  Revision  Changes    Path
  1.140     +1 -1      ports/net/asterisk/Makefile
  1.11      +18 -9     ports/net/asterisk/files/patch-configure
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Florian Smeets freebsd_committer freebsd_triage 2011-01-25 00:34:52 UTC
State Changed
From-To: open->closed

Committed. Thanks!