diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2023-01-07 00:48:31 -0800 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2023-01-07 00:49:49 -0800 |
commit | d0d6380785d3c31c9e89f4db94154a3b4758cb0b (patch) | |
tree | 248b72eee77e4e01b2123ace01d0542226de9fd0 /math | |
parent | databases/replibyte: Broken on i386 (diff) |
math/or-tools: Patch missing #include <errno.h> problem
It caused breakage on FreeBSD 12.
Reported by: portscout
(cherry picked from commit f233efc3f36269fb570677e3b2ee9dace1ec7dd7)
Diffstat (limited to 'math')
-rw-r--r-- | math/or-tools/files/patch-ortools_base_numbers.cc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/math/or-tools/files/patch-ortools_base_numbers.cc b/math/or-tools/files/patch-ortools_base_numbers.cc new file mode 100644 index 000000000000..0fb41bd3adc4 --- /dev/null +++ b/math/or-tools/files/patch-ortools_base_numbers.cc @@ -0,0 +1,13 @@ +- workaround for https://github.com/google/or-tools/issues/3622 + +--- ortools/base/numbers.cc.orig 2023-01-07 08:24:55 UTC ++++ ortools/base/numbers.cc +@@ -23,6 +23,8 @@ + #include <memory> + #include <string> + ++#include <errno.h> ++ + // #include "ortools/base/logging.h" + #include "absl/strings/ascii.h" + #include "ortools/base/strtoint.h" |