blob: ce70b9f7f3d9cdd786b9a28ea2373195ba93598c (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
#
# $NetBSD: configure,v 1.2 1998/08/07 10:36:08 agc Exp $
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."
|