Summary: | devel/astyle: fix build with GCC-based architectures | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Piotr Kubaj <pkubaj> | ||||||||
Component: | Individual Port(s) | Assignee: | Lars Engels <lme> | ||||||||
Status: | Closed FIXED | ||||||||||
Severity: | Affects Only Me | CC: | linimon, pkubaj | ||||||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(lme) |
||||||||
Version: | Latest | ||||||||||
Hardware: | Any | ||||||||||
OS: | Any | ||||||||||
Attachments: |
|
I still get a build failure: cc1plus: error: unrecognized command line option "-std=c++11" Created attachment 199623 [details]
v2
You're right, can you try this patch?
Created attachment 200644 [details]
updated patches to devel/astyle
v2 still fails for me on amd64. I am now trying the above patch.
(In reply to Mark Linimon from comment #3) Of course my updated patch dropped the files/* component. I am re-testing. A commit references this bug: Author: linimon Date: Wed Jan 2 09:09:51 UTC 2019 New revision: 489067 URL: https://svnweb.freebsd.org/changeset/ports/489067 Log: Fix CXX assignment and add new includes to fix build on GCC-based architectures. PR: 232734 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket) Changes: head/devel/astyle/Makefile head/devel/astyle/files/ head/devel/astyle/files/patch-build_gcc_Makefile head/devel/astyle/files/patch-src_astyle__main.cpp A commit references this bug: Author: linimon Date: Wed Jan 2 09:16:19 UTC 2019 New revision: 489068 URL: https://svnweb.freebsd.org/changeset/ports/489068 Log: MFH: r489067 Fix CXX assignment and add new includes to fix build on GCC-based architectures. PR: 232734 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket) Approved by: portmgr (tier-2 blanket) Changes: _U branches/2019Q1/ branches/2019Q1/devel/astyle/Makefile branches/2019Q1/devel/astyle/files/ |
Created attachment 198684 [details] patch Fix CXX assignment and add new includes to fix build on GCC architectures. Tested on powerpc64 and amd64. Hardware sponsored by IntegriCloud.