freebsd-ports/graphics/povray37/files/patch-vfe_vfe.h
John Marino dd918e15cf graphics/povray37: Fix build on clang, support stage
The main problem with building this port with clang was the use of
shared_ptr without the boost namespace which clashes with libc++.  This
occurs in numerous places but luckly sed can fix most of them save for
a few files that inconsistently used boost names.

It was also missing an explicit link to libboost_system [1]

PR:		ports/176172
Submitted by:	Oliver Hartmann
Approved by:	Maintainer timeout
Stage support:	blanket approval
MFH:		2014Q2
2014-04-21 13:08:53 +00:00

24 lines
1.1 KiB
C++

--- vfe/vfe.h.orig 2012-06-19 11:29:39.000000000 -0500
+++ vfe/vfe.h
@@ -267,7 +267,7 @@ namespace vfe
class VirtualFrontEnd
{
public:
- VirtualFrontEnd(vfeSession& session, POVMSContext ctx, POVMSAddress addr, POVMS_Object& msg, POVMS_Object *result, shared_ptr<Console>& console) ;
+ VirtualFrontEnd(vfeSession& session, POVMSContext ctx, POVMSAddress addr, POVMS_Object& msg, POVMS_Object *result, boost::shared_ptr<Console>& console) ;
virtual ~VirtualFrontEnd() ;
virtual bool Start(POVMS_Object& opts) ;
@@ -298,9 +298,9 @@ namespace vfe
POVMS_Object options;
RenderFrontendBase::SceneId sceneId;
RenderFrontendBase::ViewId viewId;
- shared_ptr<AnimationProcessing> animationProcessing ;
- shared_ptr<ImageProcessing> imageProcessing ;
- shared_ptr<ShelloutProcessing> shelloutProcessing;
+ boost::shared_ptr<AnimationProcessing> animationProcessing ;
+ boost::shared_ptr<ImageProcessing> imageProcessing ;
+ boost::shared_ptr<ShelloutProcessing> shelloutProcessing;
Console **consoleResult;
Display **displayResult;
vfeSession* m_Session;