Bug 231497 - devel/avro-cpp: fix build with base GCC
Summary: devel/avro-cpp: fix build with base GCC
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: Mark Linimon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-20 00:10 UTC by Piotr Kubaj
Modified: 2018-09-21 11:34 UTC (History)
0 users

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


Attachments
patch (327 bytes, patch)
2018-09-20 00:10 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-09-20 00:10:14 UTC
Created attachment 197249 [details]
patch

USES=compiler:c++11-lang and USE_CXXSTD=c++11 are needed to fix build on architectures that use GCC as cc.

Tested on CURRENT with powerpc64 and amd64.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2018-09-20 00:51:35 UTC
I've already tested the patch, it is in my commit queue.
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-09-21 11:33:38 UTC
A commit references this bug:

Author: linimon
Date: Fri Sep 21 11:33:10 UTC 2018
New revision: 480257
URL: https://svnweb.freebsd.org/changeset/ports/480257

Log:
  Fix build on gcc-based archs.

  PR:		231497
  Submitted by:	Piotr Kubaj
  Approved by:	portmgr (tier-2 blanket)

Changes:
  head/devel/avro-cpp/Makefile