diff options
Diffstat (limited to 'openxcom-cmath-algorithm-fixes.patch')
-rw-r--r-- | openxcom-cmath-algorithm-fixes.patch | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/openxcom-cmath-algorithm-fixes.patch b/openxcom-cmath-algorithm-fixes.patch new file mode 100644 index 0000000..e27d703 --- /dev/null +++ b/openxcom-cmath-algorithm-fixes.patch @@ -0,0 +1,55 @@ +diff -aur a/src/Basescape/BaseInfoState.h b/src/Basescape/BaseInfoState.h +--- a/src/Basescape/BaseInfoState.h 2018-03-14 15:06:59.665628271 +0000 ++++ b/src/Basescape/BaseInfoState.h 2018-03-14 15:43:22.067605905 +0000 +@@ -19,6 +19,7 @@ + #ifndef OPENXCOM_BASEINFOSTATE_H + #define OPENXCOM_BASEINFOSTATE_H + ++#include <cmath> + #include "../Engine/State.h" + + namespace OpenXcom +diff -aur a/src/Basescape/CraftInfoState.h b/src/Basescape/CraftInfoState.h +--- a/src/Basescape/CraftInfoState.h 2018-03-14 15:02:09.783729176 +0000 ++++ b/src/Basescape/CraftInfoState.h 2018-03-14 15:43:16.476703036 +0000 +@@ -19,6 +19,7 @@ + #ifndef OPENXCOM_CRAFTINFOSTATE_H + #define OPENXCOM_CRAFTINFOSTATE_H + ++#include <cmath> + #include "../Engine/State.h" + + namespace OpenXcom +diff -aur a/src/Engine/Language.h b/src/Engine/Language.h +--- a/src/Engine/Language.h 2018-03-14 15:11:37.236763021 +0000 ++++ b/src/Engine/Language.h 2018-03-14 15:42:14.751775215 +0000 +@@ -23,6 +23,7 @@ + #include <vector> + #include <string> + #include <yaml-cpp/yaml.h> ++#include <algorithm> + #include "LocalizedText.h" + #include "../Savegame/Soldier.h" + +diff -aur a/src/Engine/OptionInfo.h b/src/Engine/OptionInfo.h +--- a/src/Engine/OptionInfo.h 2018-03-14 15:14:50.346384845 +0000 ++++ b/src/Engine/OptionInfo.h 2018-03-14 15:42:14.750775233 +0000 +@@ -23,6 +23,7 @@ + #include <string> + #include <map> + #include <SDL.h> ++#include <algorithm> + + namespace OpenXcom + { +diff -aur a/src/Savegame/CraftWeapon.h b/src/Savegame/CraftWeapon.h +--- a/src/Savegame/CraftWeapon.h 2018-03-14 15:27:14.695387913 +0000 ++++ b/src/Savegame/CraftWeapon.h 2018-03-14 15:42:14.748775267 +0000 +@@ -21,6 +21,7 @@ + + #include <string> + #include <yaml-cpp/yaml.h> ++#include <cmath> + + namespace OpenXcom + { |