head 1.2; access; symbols pkgsrc-2018Q1:1.1.0.2 pkgsrc-2018Q1-base:1.1; locks; strict; comment @// @; 1.2 date 2018.04.08.10.14.15; author scole; state dead; branches; next 1.1; commitid VJgH1uToiPETJCxA; 1.1 date 2018.03.16.21.06.31; author scole; state Exp; branches; next ; commitid AtRuQ4JTG36v5JuA; desc @@ 1.2 log @Fix compilation with libthrift 0.11.0 @ text @$NetBSD: patch-libpurple_thriftclient.hpp,v 1.1 2018/03/16 21:06:31 scole Exp $ std::make_shared does not seem to compile on NetBSD so use boost::make_shared --- libpurple/thriftclient.hpp.orig 2018-02-21 13:01:04.000000000 -0800 +++ libpurple/thriftclient.hpp 2018-03-16 09:45:53.000000000 -0700 @@@@ -3,6 +3,9 @@@@ #include #include +#include +#include + #include #include #include @@@@ -14,7 +17,7 @@@@ class ThriftClient : public line::TalkServiceClient { std::string path; - std::shared_ptr http; + boost::shared_ptr http; public: @ 1.1 log @Update to nb2/20180221 which mainly fixes login issue. Use boost::make_shared instead of std::make_shared in a few places where it doesn't compile with netbsd-7/gcc4.8.5. I'm not sure, there may be a more portable way to handle. @ text @d1 1 a1 1 $NetBSD: patch-libpurple_thriftclient.hpp,v 1.1 2018/03/16 09:51:04 scole Exp $ @