freebsd-ports/graphics/povray37/files/patch-vfe_vfesession.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

11 lines
485 B
C

--- vfe/vfesession.h.orig 2012-06-19 11:29:40.000000000 -0500
+++ vfe/vfesession.h
@@ -1294,7 +1294,7 @@ namespace vfe
static bool m_Initialized;
static vfeSession *m_CurrentSessionTemporaryHack;
- shared_ptr<Console> m_Console;
+ boost::shared_ptr<Console> m_Console;
virtual vfeDisplay *DefaultDisplayCreator (unsigned int width, unsigned int height, GammaCurvePtr gamma, vfeSession *session, bool visible);
DisplayCreator m_DisplayCreator;