summaryrefslogtreecommitdiff
path: root/audio/rplay/scripts/configure
blob: 6430265535995c582bcf0202beda3e248500e89f (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

chmod -R +w ${WRKSRC}
echo -n "Removing disgusting malloc.h includes.  Please wait.."
for i in `find ${WRKSRC} -name '*.[ch]' | xargs fgrep -l malloc.h`; do
	sed -e 's/malloc.h/stdlib.h/' < $i > $i.bak && mv $i.bak $i
done
echo " Done."