MFH: r463537

games/spring: unbreak with boost 1.65

PR:		220762
Submitted by:	Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
Approved by:	maintainer timeout (3 months)
Approved by:	ports-secteam blanket
This commit is contained in:
Jan Beich 2018-03-03 22:42:24 +00:00
parent e9cff82c39
commit eda02ba62f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2018Q1/; revision=463539
2 changed files with 10 additions and 2 deletions

View file

@ -14,8 +14,6 @@ COMMENT= Project aiming to create a new and versatile RTS Engine
LICENSE= GPLv2
BROKEN_FreeBSD_10= fails to build with boost 1.65, see bug 220762
LIB_DEPENDS= libfreetype.so:print/freetype2 \
libboost_thread.so:devel/boost-libs \
libIL.so:graphics/devil \

View file

@ -5,6 +5,16 @@
+#include <cmath>
#include <list>
#include <SDL_events.h>
+++ rts/lib/streflop/SMath.h
@@ -16,6 +16,8 @@
#ifndef STREFLOP_MATH_H
#define STREFLOP_MATH_H
+#include <cmath>
+
// just in case, should already be included
#include "streflop.h"
+++ rts/Sim/Weapons/LaserCannon.cpp 2015-04-07 20:49:52 -0400
@@ -1,4 +1,6 @@
/* This file is part of the Spring engine (GPL v2 or later), see LICENSE.html */