Bug 237876 - audio/py-webrtcvad: fix build with GCC-based architectures
Summary: audio/py-webrtcvad: fix build with GCC-based architectures
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-13 12:27 UTC by Piotr Kubaj
Modified: 2019-06-02 11:07 UTC (History)
1 user (show)

See Also:
yuri: maintainer-feedback+


Attachments
patch (1.58 KB, patch)
2019-05-13 12:27 UTC, Piotr Kubaj
pkubaj: maintainer-approval? (yuri)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer freebsd_triage 2019-05-13 12:27:08 UTC
Created attachment 204355 [details]
patch

GCC architectures need USES=compiler:c11 for __BYTE_ORDER__ compiler macro.

They also need a patch to properly define WEBRTC_ARCH_BIG_ENDIAN.
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-06-02 11:07:58 UTC
A commit references this bug:

Author: pkubaj
Date: Sun Jun  2 11:07:09 UTC 2019
New revision: 503304
URL: https://svnweb.freebsd.org/changeset/ports/503304

Log:
  audio/py-webrtcvad: fix build with GCC-based architectures

  GCC architectures need USES=compiler:c11 for BYTE_ORDER compiler macro.

  They also need a patch to properly define WEBRTC_ARCH_BIG_ENDIAN.

  PR:             237876
  Approved by:    tcberner (mentor), yuri (maintainer)
  Differential Revision:  https://reviews.freebsd.org/D20440

Changes:
  head/audio/py-webrtcvad/Makefile
  head/audio/py-webrtcvad/files/
  head/audio/py-webrtcvad/files/patch-cbits_webrtc_typedefs.h