aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorade <ade@FreeBSD.org>2002-02-13 12:57:17 +0800
committerade <ade@FreeBSD.org>2002-02-13 12:57:17 +0800
commit08a55754f58530b8459196867f6fbef1ce2bbe7b (patch)
treef897d7d354c34bf82eca76b4a02ad2e0250b2dea
parentd58a13765231bbdd8934f6904d49e9bce39cfed6 (diff)
downloadfreebsd-ports-graphics-08a55754f58530b8459196867f6fbef1ce2bbe7b.tar.gz
freebsd-ports-graphics-08a55754f58530b8459196867f6fbef1ce2bbe7b.tar.zst
freebsd-ports-graphics-08a55754f58530b8459196867f6fbef1ce2bbe7b.zip
Unbreak for -CURRENT (and remove warning on stable) by changing malloc.h
references to stdlib.h PR: 34652 Submitted by: Joe Marcus Clarke <marcus@marcuscom.com>
-rw-r--r--textproc/libxml/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/textproc/libxml/Makefile b/textproc/libxml/Makefile
index e71f5acfa7e..3b3f4f7d7dc 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 <bsd.port.mk>