[asterisk-bugs] [JIRA] (ASTERISK-27721) [patch] BuildSystem: Enable PortAudio in NetBSD.

Friendly Automation (JIRA) noreply at issues.asterisk.org
Tue Mar 13 17:58:13 CDT 2018


    [ https://issues.asterisk.org/jira/browse/ASTERISK-27721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=242563#comment-242563 ] 

Friendly Automation commented on ASTERISK-27721:
------------------------------------------------

Change 8436 merged by Jenkins2:
BuildSystem: Enable PortAudio in NetBSD.

[https://gerrit.asterisk.org/8436|https://gerrit.asterisk.org/8436]

> [patch] BuildSystem: Enable PortAudio in NetBSD.
> ------------------------------------------------
>
>                 Key: ASTERISK-27721
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27721
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/BuildSystem
>    Affects Versions: 13.19.2, 15.2.2
>         Environment: NetBSD 7.1.1
>            Reporter: Alexander Traud
>            Assignee: Alexander Traud
>            Severity: Minor
>              Labels: patch
>         Attachments: NetBSD_enable_portaudio.patch
>
>
> The channel driver {{chan_console}} has a dependency on the external library PortAudio. The script {{./configure}} assumes PortAudio 2.x. In NetBSD, PortAudio 1.x is the default. The newer version is available and can be installed side by side, but gets placed in a 'portaudio2' subdirectory:
> * {{/usr/pkg/lib/portaudio2/libportaudio.so}}
> * {{/usr/pkg/include/portaudio2/portaudio.h}}
> Therefore, {{./configure}} was not able to detect PortAudio on NetBSD. Lukily, PortAudio is listed via the tool {{pkg-config}}. That way, Asterisk is able to determine the path of the headers and libraries automatically. The attached patch leverages this.
> As with Python, one cannot specify a version with pkg-config in NetBSD. Why ever. This works in Ubuntu. Therefore, this explicit string 'portaudio-2.0' is required for NetBSD. Consequently, the previous check must stay.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list