Unbreak on 5.X and -CURRENT.

Reported by:	kris
Approved by:	portmgr (krion), fjoe (mentor, implicit)
This commit is contained in:
Alexey Dokuchaev 2004-10-06 04:47:58 +00:00
parent 24c0e6d51a
commit ccd2323721
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118557
6 changed files with 52 additions and 8 deletions

View file

@ -39,10 +39,6 @@ pre-everything::
BROKEN= "Does not compile (bad C++ code)" BROKEN= "Does not compile (bad C++ code)"
.endif .endif
.if ${OSVERSION} >= 502126
BROKEN= "Does not compile on FreeBSD >= 5.x"
.endif
post-patch: post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | \ @${FIND} ${WRKSRC} -name "Makefile.in" | \
${XARGS} ${REINPLACE_CMD} -E -e \ ${XARGS} ${REINPLACE_CMD} -E -e \

View file

@ -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 <iostream>
+
+using namespace std;
+
#include "gram_lex.h"
struct sym_t

View file

@ -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<config.h>
#endif
+#include <iostream>
#include <stdio.h>
+
+using namespace std;
__BEGIN_YAFRAY

View file

@ -39,10 +39,6 @@ pre-everything::
BROKEN= "Does not compile (bad C++ code)" BROKEN= "Does not compile (bad C++ code)"
.endif .endif
.if ${OSVERSION} >= 502126
BROKEN= "Does not compile on FreeBSD >= 5.x"
.endif
post-patch: post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | \ @${FIND} ${WRKSRC} -name "Makefile.in" | \
${XARGS} ${REINPLACE_CMD} -E -e \ ${XARGS} ${REINPLACE_CMD} -E -e \

View file

@ -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 <iostream>
+
+using namespace std;
+
#include "gram_lex.h"
struct sym_t

View file

@ -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<config.h>
#endif
+#include <iostream>
#include <stdio.h>
+
+using namespace std;
__BEGIN_YAFRAY