aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-emulation/dosbox-x/files/cmath.patch')
-rw-r--r--games-emulation/dosbox-x/files/cmath.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/games-emulation/dosbox-x/files/cmath.patch b/games-emulation/dosbox-x/files/cmath.patch
new file mode 100644
index 0000000..1643606
--- /dev/null
+++ b/games-emulation/dosbox-x/files/cmath.patch
@@ -0,0 +1,12 @@
+--- a/src/dos/dos_programs.cpp 2020-08-03 12:33:31.000000000 +0800
++++ b/src/dos/dos_programs.cpp 2020-08-03 15:56:10.462020649 +0800
+@@ -24,7 +24,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <ctype.h>
+-#include <math.h>
++#include <cmath>
+ #include <algorithm>
+ #include <string>
+ #include <vector>
+