1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

games/springlobby: unbreak with boost 1.70

src/lsl/src/lslutils/misc.cpp:200:58: error: implicit instantiation of undefined template 'boost::shared_ptr<const LSL::CommonUser>'
lslColor GetFreeColor( const ConstCommonUserPtr /*user*/ )
                                                         ^
src/lsl/src/lslutils/type_forwards.h:15:7: note: template is declared here
class shared_ptr;
      ^

Obtained from:	https://github.com/springlobby/lsl/commit/5134cf61436b
This commit is contained in:
Jan Beich 2019-03-17 15:11:31 +00:00
parent 4e1ccaece4
commit f07c20cbd4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=496069

View File

@ -1,8 +1,10 @@
--- src/lsl/src/lslutils/misc.cpp.orig 2013-08-31 14:17:00.000000000 +0400
+++ src/lsl/src/lslutils/misc.cpp 2013-12-10 04:20:26.887107289 +0400
@@ -3,6 +3,7 @@
--- src/lsl/src/lslutils/misc.cpp.orig 2013-08-31 10:17:00 UTC
+++ src/lsl/src/lslutils/misc.cpp
@@ -2,7 +2,9 @@
#include "conversion.h"
#include <boost/filesystem.hpp>
+#include <boost/shared_ptr.hpp>
#include <fstream>
+#include <cmath>