summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-03-31 04:08:43 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-03-31 04:08:43 +0000
commitc9bf08a239e92f01231a8b1e9474e778454549ec (patch)
treebec47c514c9c5a3278cf26803b0d25805ae43660 /graphics
parentRemove #include <malloc.h> (diff)
Remove #include <malloc.h>
Notes
Notes: svn path=/head/; revision=57016
Diffstat (limited to 'graphics')
-rw-r--r--graphics/osg-devel/Makefile5
-rw-r--r--graphics/osg/Makefile5
2 files changed, 10 insertions, 0 deletions
diff --git a/graphics/osg-devel/Makefile b/graphics/osg-devel/Makefile
index d2a52dce24ac..bc35a579b9d8 100644
--- a/graphics/osg-devel/Makefile
+++ b/graphics/osg-devel/Makefile
@@ -28,6 +28,11 @@ MAKE_ENV= CXX="${CXX}" \
ALL_TARGET= freebsd
+pre-patch:
+ @${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
+ ${WRKSRC}/src/osgPlugins/flt/Input.cpp \
+ ${WRKSRC}/src/osgPlugins/flt/Record.cpp
+
post-patch:
.for suf in defs rules
@${LN} -sf ${WRKSRC}/Make/make${suf}.linux \
diff --git a/graphics/osg/Makefile b/graphics/osg/Makefile
index d2a52dce24ac..bc35a579b9d8 100644
--- a/graphics/osg/Makefile
+++ b/graphics/osg/Makefile
@@ -28,6 +28,11 @@ MAKE_ENV= CXX="${CXX}" \
ALL_TARGET= freebsd
+pre-patch:
+ @${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
+ ${WRKSRC}/src/osgPlugins/flt/Input.cpp \
+ ${WRKSRC}/src/osgPlugins/flt/Record.cpp
+
post-patch:
.for suf in defs rules
@${LN} -sf ${WRKSRC}/Make/make${suf}.linux \