freebsd-ports/graphics/luxrender/files/patch-luxrays-include-luxcore-luxcore.h
Alexey Dokuchaev 97fd07900e - Do not embed revision hashes inside patches by creating a symlink
with constant name in `pre-patch' stage
- Add explanatory comment on why do we want to link Boost libraries
  dynamically while I'm here
2015-08-26 08:57:33 +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;