diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2020-02-23 19:53:45 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2020-02-23 19:53:45 +0000 |
commit | 9986ed38e33e3387cf9b98613611c8fd174185ff (patch) | |
tree | 7373bdf6920e45acb38fcf8d78d7c0f7ff431790 /math/mathmod | |
parent | 540ac4ce5649233465963ce20f3e0d78e6613c78 (diff) | |
download | ports-9986ed38e33e3387cf9b98613611c8fd174185ff.tar.gz ports-9986ed38e33e3387cf9b98613611c8fd174185ff.zip |
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
Notes
Notes:
svn path=/head/; revision=526940
Diffstat (limited to 'math/mathmod')
-rw-r--r-- | math/mathmod/files/patch-fparser_fparser.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/math/mathmod/files/patch-fparser_fparser.cc b/math/mathmod/files/patch-fparser_fparser.cc new file mode 100644 index 000000000000..4136548a6c4f --- /dev/null +++ b/math/mathmod/files/patch-fparser_fparser.cc @@ -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" |