Bug 232561 - net/ortp: fix build with GCC-based architectures
Summary: net/ortp: 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: Maxim Sobolev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-23 15:21 UTC by Piotr Kubaj
Modified: 2018-10-23 16:39 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (sobomax)


Attachments
patch (358 bytes, patch)
2018-10-23 15:21 UTC, Piotr Kubaj
no flags 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 2018-10-23 15:21:14 UTC
Created attachment 198501 [details]
patch

This port uses atomic, which appeared in C11.

Add USES=compiler:c11 to fix build with GCC architectures.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-10-23 15:54:35 UTC
A commit references this bug:

Author: tijl
Date: Tue Oct 23 15:53:40 UTC 2018
New revision: 482845
URL: https://svnweb.freebsd.org/changeset/ports/482845

Log:
  Add USES=compiler:c11 because this port uses stdatomic.h.

  PR:		232561
  Submitted by:	pkubaj@anongoth.pl

Changes:
  head/net/ortp/Makefile