Bug 225209 - [MAINTAINER] cad/calculix: fix build with clang 6.0.0
Summary: [MAINTAINER] cad/calculix: fix build with clang 6.0.0
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: Thomas Zander
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2018-01-16 06:29 UTC by Pedro F. Giffuni
Modified: 2018-02-17 17:36 UTC (History)
1 user (show)

See Also:


Attachments
Add C++98 to the CFLAGS. (326 bytes, patch)
2018-01-16 06:29 UTC, Pedro F. Giffuni
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro F. Giffuni freebsd_committer freebsd_triage 2018-01-16 06:29:43 UTC
Created attachment 189785 [details]
Add C++98 to the CFLAGS.

CalculiX has issues with modern C++ standards so just set C++98 for now.

The issue has been reported upstream so hopefully we won't depend on this forever.
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-02-17 17:34:03 UTC
A commit references this bug:

Author: riggs
Date: Sat Feb 17 17:33:55 UTC 2018
New revision: 462174
URL: https://svnweb.freebsd.org/changeset/ports/462174

Log:
  Fix build with clang 6.0.0

  PR:		225209
  Submitted by:	pfg (maintainer)

Changes:
  head/cad/calculix/Makefile
Comment 2 Thomas Zander freebsd_committer freebsd_triage 2018-02-17 17:36:59 UTC
Committed with a PORTREVISION bump, since the resulting binary probably changes due to the std= flag.