[Bug 232087] sysutils/smart: fix build with mips, mips64, powerpc64
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Oct 8 21:20:55 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232087
Bug ID: 232087
Summary: sysutils/smart: fix build with mips, mips64, powerpc64
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: jrm at freebsd.org
Reporter: pkubaj at anongoth.pl
Assignee: jrm at freebsd.org
Flags: maintainer-feedback?(jrm at freebsd.org)
Created attachment 197930
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=197930&action=edit
patch
GCC treats const int as a variable and forbids creating arrays of a size of
such variable.
Switch from const int to define to fix it.
Tested on powerpc64 and amd64.
Hardware sponsored by IntegriCloud.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list