From 1d25b2294bb9a220d8a3ef9dda5d5394ec684213 Mon Sep 17 00:00:00 2001 From: Ade Lovett Date: Wed, 13 Feb 2002 04:57:17 +0000 Subject: Unbreak for -CURRENT (and remove warning on stable) by changing malloc.h references to stdlib.h PR: 34652 Submitted by: Joe Marcus Clarke --- textproc/libxml/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'textproc') diff --git a/textproc/libxml/Makefile b/textproc/libxml/Makefile index e71f5acfa7e4..3b3f4f7d7dc9 100644 --- a/textproc/libxml/Makefile +++ b/textproc/libxml/Makefile @@ -20,4 +20,8 @@ USE_GMAKE= yes GNU_CONFIGURE= yes INSTALLS_SHLIB= yes +pre-patch: + @find {WRKSRC} -name "*.[ch]" | xargs ${PERL} -pi -e \ + 's|malloc\.h|stdlib.h|g' + .include -- cgit v1.2.3