[asterisk-bugs] [JIRA] (ASTERISK-27721) [patch] BuildSystem: Enable PortAudio in NetBSD.
Asterisk Team (JIRA)
noreply at issues.asterisk.org
Wed Aug 8 10:10:58 CDT 2018
[ https://issues.asterisk.org/jira/browse/ASTERISK-27721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Asterisk Team updated ASTERISK-27721:
-------------------------------------
Target Release Version/s: 16.0.0
> [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
> Target Release: 13.21.0, 15.4.0, 16.0.0
>
> 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