diff --git a/graphics/yafaray/Makefile b/graphics/yafaray/Makefile index 6a8a47ae9ee9..bbe6fdc8ca49 100644 --- a/graphics/yafaray/Makefile +++ b/graphics/yafaray/Makefile @@ -39,10 +39,6 @@ pre-everything:: BROKEN= "Does not compile (bad C++ code)" .endif -.if ${OSVERSION} >= 502126 -BROKEN= "Does not compile on FreeBSD >= 5.x" -.endif - post-patch: @${FIND} ${WRKSRC} -name "Makefile.in" | \ ${XARGS} ${REINPLACE_CMD} -E -e \ diff --git a/graphics/yafaray/files/patch-src::loader::gram_loader.h b/graphics/yafaray/files/patch-src::loader::gram_loader.h new file mode 100644 index 000000000000..2f43ae477901 --- /dev/null +++ b/graphics/yafaray/files/patch-src::loader::gram_loader.h @@ -0,0 +1,13 @@ +--- src/loader/gram_loader.h.orig Thu Sep 30 14:48:47 2004 ++++ src/loader/gram_loader.h Thu Sep 30 14:49:18 2004 +@@ -22,6 +22,10 @@ + #ifndef __GRAML_H + #define __GRAML_H + ++#include ++ ++using namespace std; ++ + #include "gram_lex.h" + + struct sym_t diff --git a/graphics/yafaray/files/patch-src::yafraycore::buffer.h b/graphics/yafaray/files/patch-src::yafraycore::buffer.h new file mode 100644 index 000000000000..84dd8b1e22fe --- /dev/null +++ b/graphics/yafaray/files/patch-src::yafraycore::buffer.h @@ -0,0 +1,13 @@ +--- src/yafraycore/buffer.h.orig Thu Sep 30 14:31:34 2004 ++++ src/yafraycore/buffer.h Thu Sep 30 14:42:42 2004 +@@ -27,7 +27,10 @@ + #include + #endif + ++#include + #include ++ ++using namespace std; + + __BEGIN_YAFRAY + diff --git a/graphics/yafray/Makefile b/graphics/yafray/Makefile index 6a8a47ae9ee9..bbe6fdc8ca49 100644 --- a/graphics/yafray/Makefile +++ b/graphics/yafray/Makefile @@ -39,10 +39,6 @@ pre-everything:: BROKEN= "Does not compile (bad C++ code)" .endif -.if ${OSVERSION} >= 502126 -BROKEN= "Does not compile on FreeBSD >= 5.x" -.endif - post-patch: @${FIND} ${WRKSRC} -name "Makefile.in" | \ ${XARGS} ${REINPLACE_CMD} -E -e \ diff --git a/graphics/yafray/files/patch-src::loader::gram_loader.h b/graphics/yafray/files/patch-src::loader::gram_loader.h new file mode 100644 index 000000000000..2f43ae477901 --- /dev/null +++ b/graphics/yafray/files/patch-src::loader::gram_loader.h @@ -0,0 +1,13 @@ +--- src/loader/gram_loader.h.orig Thu Sep 30 14:48:47 2004 ++++ src/loader/gram_loader.h Thu Sep 30 14:49:18 2004 +@@ -22,6 +22,10 @@ + #ifndef __GRAML_H + #define __GRAML_H + ++#include ++ ++using namespace std; ++ + #include "gram_lex.h" + + struct sym_t diff --git a/graphics/yafray/files/patch-src::yafraycore::buffer.h b/graphics/yafray/files/patch-src::yafraycore::buffer.h new file mode 100644 index 000000000000..84dd8b1e22fe --- /dev/null +++ b/graphics/yafray/files/patch-src::yafraycore::buffer.h @@ -0,0 +1,13 @@ +--- src/yafraycore/buffer.h.orig Thu Sep 30 14:31:34 2004 ++++ src/yafraycore/buffer.h Thu Sep 30 14:42:42 2004 +@@ -27,7 +27,10 @@ + #include + #endif + ++#include + #include ++ ++using namespace std; + + __BEGIN_YAFRAY +