Bug 244201 - math/mathmod: fix build on GCC architectures
Summary: math/mathmod: fix build on GCC architectures
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Thierry Thomas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-17 19:19 UTC by Piotr Kubaj
Modified: 2020-02-23 19:53 UTC (History)
1 user (show)

See Also:
thierry: maintainer-feedback+


Attachments
patch (819 bytes, patch)
2020-02-17 19:19 UTC, Piotr Kubaj
pkubaj: maintainer-approval? (thierry)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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