ports/games/openxcom/files/patch-src_Savegame_CraftWeapon.cpp
Guido Falsi 84630d5dec - Update devel/yaml-cpp to 0.6.1
- This new version drops dependency on boost-libs
- Fix openxcom to build with this new version [1]
- Add explicit dependency on boost to net-mgmt/openbmp, now that
  yamp-cpp does not pull that in for it [2]

Approved by:		pizzamig [2],
			Maintainer timeout [1]
Differential Revision:	https://reviews.freebsd.org/D14155
2018-02-17 10:12:29 +00:00

10 lines
376 B
C++

--- src/Savegame/CraftWeapon.cpp.orig 2014-06-13 19:14:43 UTC
+++ src/Savegame/CraftWeapon.cpp
@@ -16,6 +16,7 @@
* You should have received a copy of the GNU General Public License
* along with OpenXcom. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <cmath>
#include "CraftWeapon.h"
#include "../Ruleset/RuleCraftWeapon.h"
#include "../Ruleset/Ruleset.h"