Date: Sun, 23 Feb 2020 19:53:46 +0000 (UTC) From: Thierry Thomas <thierry@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r526940 - head/math/mathmod/files Message-ID: <202002231953.01NJrkAD077642@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: thierry Date: Sun Feb 23 19:53:45 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 Added: head/math/mathmod/files/patch-fparser_fparser.cc (contents, props changed) Added: head/math/mathmod/files/patch-fparser_fparser.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/mathmod/files/patch-fparser_fparser.cc Sun Feb 23 19:53:45 2020 (r526940) @@ -0,0 +1,10 @@ +--- fparser/fparser.cc.orig 2020-02-17 14:23:01 UTC ++++ fparser/fparser.cc +@@ -18,6 +18,7 @@ + #include <cmath> + #include <cassert> + #include <limits> ++#include <sys/types.h> + + #include "extrasrc/fptypes.hh" + #include "extrasrc/fpaux.hh"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002231953.01NJrkAD077642>