mirror of
https://git.freebsd.org/ports.git
synced 2025-05-28 08:56:28 -04:00
is not working on -current for some reason and pkg-fallout is unhappy. Submitted by: pkg-fallout@
15 lines
204 B
Bash
15 lines
204 B
Bash
#!/bin/sh
|
|
|
|
for f in `find $1 -type f -name \*.\[ch\] -print | xargs grep -l malloc.h`
|
|
do
|
|
|
|
patch -p0 << END_OF_PATCH
|
|
+++ $f
|
|
@@ -10,1 +10,1 @@
|
|
-#include <malloc.h>
|
|
+#include <stdlib.h>
|
|
|
|
END_OF_PATCH
|
|
|
|
done
|
|
|