[Bug 237159] deskutils/sysctlview: fix build with GCC-based architectures
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Apr 9 12:28:39 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237159
Bug ID: 237159
Summary: deskutils/sysctlview: fix build with GCC-based
architectures
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: pkubaj at anongoth.pl
CC: alfix86 at gmail.com
Flags: maintainer-feedback?(alfix86 at gmail.com)
CC: alfix86 at gmail.com
Created attachment 203541
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=203541&action=edit
patch
This port needs USES=compiler:c++11-lang. It also needs to not overwrite CXX,
CXXFLAGS and LDFLAGS - this breaks build on GCC architectures.
When trying to build with GCC8: the following error happens:
mytreeview.cc:50:1: sorry, unimplemented: non-trivial designated initializers
not supported
That's why we need to initialize variables the old way.
Tested on powerpc64 and amd64.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list