Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Oct 2018 21:20:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 232087] sysutils/smart: fix build with mips, mips64, powerpc64
Message-ID:  <bug-232087-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232087

            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@freebsd.org
          Reporter: pkubaj@anongoth.pl
          Assignee: jrm@freebsd.org
             Flags: maintainer-feedback?(jrm@freebsd.org)

Created attachment 197930
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D197930&action=
=3Dedit
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-232087-7788>