summaryrefslogtreecommitdiff
path: root/games-roguelike/dwarf-fortress/files/dwarf-fortress-0.47.05-missing-cmath.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games-roguelike/dwarf-fortress/files/dwarf-fortress-0.47.05-missing-cmath.patch')
-rw-r--r--games-roguelike/dwarf-fortress/files/dwarf-fortress-0.47.05-missing-cmath.patch8
1 files changed, 8 insertions, 0 deletions
diff --git a/games-roguelike/dwarf-fortress/files/dwarf-fortress-0.47.05-missing-cmath.patch b/games-roguelike/dwarf-fortress/files/dwarf-fortress-0.47.05-missing-cmath.patch
new file mode 100644
index 000000000000..a3028764afac
--- /dev/null
+++ b/games-roguelike/dwarf-fortress/files/dwarf-fortress-0.47.05-missing-cmath.patch
@@ -0,0 +1,8 @@
+Fixes compilation due to missing <cmath> header required in this file.
+
+--- a/g_src/ttf_manager.cpp
++++ b/g_src/ttf_manager.cpp
+@@ -2,2 +2,3 @@
+ #include "init.h"
++#include <cmath>
+ #include <iostream>