[Bug 207253] cad/openvsp: Fix in 11-CURRENT

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Feb 25 22:22:00 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207253

--- Comment #19 from commit-hook at freebsd.org ---
A commit references this bug:

Author: rakuco
Date: Thu Feb 25 22:21:38 UTC 2016
New revision: 409563
URL: https://svnweb.freebsd.org/changeset/ports/409563

Log:
  Add patches to fix the build on FreeBSD 11 with libc++.

  OpenVSP does something like this:
    using namespace std;
    class array {
      ...
    };

  Which causes the build to fail with HEAD's libc++. Even though the port does
  not use -std=c++11, libc++ still declares an array class that conflicts with
  the one OpenVSP has.

  Enclose OpenVSP's array declaration in a namespace to avoid these conflicts.

  PR:           207253
  Approved by:  fernando.apesteguia at gmail.com (maintainer)

Changes:
  head/cad/openvsp/files/patch-src_util__code_array.h
  head/cad/openvsp/files/patch-src_vsp_af.cpp
  head/cad/openvsp/files/patch-src_vsp_havoc__geom.cpp
  head/cad/openvsp/files/patch-src_vsp_havoc__geom.h

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list