ports/graphics/luxrender14/files/patch-luxrays-include-luxcore-luxcore.h
Alexey Dokuchaev f7ef0c292f Update LuxRender to version 1.5. As it now requires `graphics/embree'
which is not available on 9.X for the moment, preserve version 1.4 as
`graphics/luxrender14' slave port.
2015-10-12 09:37:20 +00:00

20 lines
728 B
C++

--- ../luxrays/include/luxcore/luxcore.h.orig
+++ ../luxrays/include/luxcore/luxcore.h
@@ -63,7 +63,7 @@
*/
namespace luxcore {
-CPP_EXPORT CPP_API void (*LuxCore_LogHandler)(const char *msg); // LuxCore Log Handler
+extern CPP_API void (*LuxCore_LogHandler)(const char *msg); // LuxCore Log Handler
#define LC_LOG(a) { if (luxcore::LuxCore_LogHandler) { std::stringstream _LUXCORE_LOG_LOCAL_SS; _LUXCORE_LOG_LOCAL_SS << a; luxcore::LuxCore_LogHandler(_LUXCORE_LOG_LOCAL_SS.str().c_str()); } }
@@ -603,7 +603,7 @@ public:
*
* \return the default Properties.
*/
- static const luxrays::Properties &GetDefaultProperties();
+ const luxrays::Properties &GetDefaultProperties();
friend class RenderSession;