games/spring: unbreak with boost 1.65
PR: 220762 Submitted by: Walter Schwarzenfeld <w.schwarzenfeld@utanet.at> Approved by: maintainer timeout (3 months)
This commit is contained in:
parent
af3768b888
commit
3e0b78e13f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=463537
@ -15,7 +15,6 @@ COMMENT= Project aiming to create a new and versatile RTS Engine
|
||||
LICENSE= GPLv2
|
||||
|
||||
BROKEN= fails to build with boost 1.66, see bug 224124
|
||||
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 \
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user