summaryrefslogtreecommitdiff
path: root/audio/csound
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2002-02-11 22:36:29 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2002-02-11 22:36:29 +0000
commit7c4c2350094c2c34cab2cca68a87846fa3e1b399 (patch)
tree8e93cfb2b36182abff3e5693d5a862bdf5619c6f /audio/csound
parentUpdate to 0.7.1 (diff)
Suppress warnings generated by inclusion of malloc.h.
PR: 34559 Submitted by: Pierre-Paul Lavoie <ppl@nbnet.nb.ca>
Notes
Notes: svn path=/head/; revision=54572
Diffstat (limited to 'audio/csound')
-rw-r--r--audio/csound/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/csound/Makefile b/audio/csound/Makefile
index 39872d65e7e3..24c175f1c91f 100644
--- a/audio/csound/Makefile
+++ b/audio/csound/Makefile
@@ -42,6 +42,8 @@ post-build:
post-patch:
${PERL} -pi -e "s:/usr/local/lib:${DATADIR}:g" ${WRKSRC}/getstring.c
+ ${FIND} ${WRKSRC} -type f -exec \
+ ${PERL} -pi -e "s:<malloc.h>:<stdlib.h>:g" {} \;
do-install:
${MKDIR} ${PREFIX}/share/csound