joyent/pkgsrc — pull request #116 by wiedi (2013-12-06 11:26:50+00:00)
Title: comms/asterisk: fix build on SmartOS

fix build on SmartOS.

##### channels/chan_oss.c:

fix include of sys/soundcard.h on sunos

##### main/Makefile:

--version-script and --warn-common are only supported by GNU ld.
Added a check to only use it then.

##### main/utils.c:

patch unused variable error