mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Unbreak on 5.X and -CURRENT.
Reported by: kris Approved by: portmgr (krion), fjoe (mentor, implicit)
This commit is contained in:
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
|
@ -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 \
|
||||||
|
|
13
graphics/yafaray/files/patch-src::loader::gram_loader.h
Normal file
13
graphics/yafaray/files/patch-src::loader::gram_loader.h
Normal 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
|
13
graphics/yafaray/files/patch-src::yafraycore::buffer.h
Normal file
13
graphics/yafaray/files/patch-src::yafraycore::buffer.h
Normal 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
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
13
graphics/yafray/files/patch-src::loader::gram_loader.h
Normal file
13
graphics/yafray/files/patch-src::loader::gram_loader.h
Normal 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
|
13
graphics/yafray/files/patch-src::yafraycore::buffer.h
Normal file
13
graphics/yafray/files/patch-src::yafraycore::buffer.h
Normal 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
|
||||||
|
|
Loading…
Add table
Reference in a new issue