Bug 244201

Summary: math/mathmod: fix build on GCC architectures
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Thierry Thomas <thierry>
Status: Closed FIXED    
Severity: Affects Only Me CC: thierry
Priority: --- Flags: thierry: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch pkubaj: maintainer-approval? (thierry)

Description Piotr Kubaj freebsd_committer freebsd_triage 2020-02-17 19:19:16 UTC
Created attachment 211729 [details]
patch

sys/types.h is necessary for uint:
fparser/fparser.cc:3006:55: error: 'uint' was not declared in this scope; did you mean 'rint'?
 3006 | void FunctionParserBase<Value_t>::AllocateStackMemory(uint nbStack)
      |                                                       ^~~~
      |                                                       rint
Comment 1 Thierry Thomas freebsd_committer freebsd_triage 2020-02-23 19:53:46 UTC
Committed, thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2020-02-23 19:53:53 UTC
A commit references this bug:

Author: thierry
Date: Sun Feb 23 19:53:46 UTC 2020
New revision: 526940
URL: https://svnweb.freebsd.org/changeset/ports/526940

Log:
  Fix build on GCC architectures.

  sys/types.h is necessary for uint:
  fparser/fparser.cc:3006:55: error: 'uint' was not declared in this scope; did you mean 'rint'?

  PR:		244201
  Submitted by:	pkubaj

Changes:
  head/math/mathmod/files/patch-fparser_fparser.cc