aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2002-03-30 07:44:05 +0800
committerpetef <petef@FreeBSD.org>2002-03-30 07:44:05 +0800
commit999f59927d89434af668d4ac2c812df6a9a049c9 (patch)
tree83b8597d330b345f7ca32fbf1f19ffbb05dc52d5 /comms
parent9377b38eafbac46983b4db9720e478feb90276f5 (diff)
downloadfreebsd-ports-gnome-999f59927d89434af668d4ac2c812df6a9a049c9.tar.gz
freebsd-ports-gnome-999f59927d89434af668d4ac2c812df6a9a049c9.tar.zst
freebsd-ports-gnome-999f59927d89434af668d4ac2c812df6a9a049c9.zip
Fix build on -current (malloc.h).
PR: 36499 Submitted by: maintainer
Diffstat (limited to 'comms')
-rw-r--r--comms/mwavem/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/comms/mwavem/Makefile b/comms/mwavem/Makefile
index bbb2ec5a1f4e..d04cf9088980 100644
--- a/comms/mwavem/Makefile
+++ b/comms/mwavem/Makefile
@@ -28,6 +28,9 @@ SLEEP= /bin/sleep
pre-build:
${PERL} -pi.orig -e "s@ /modules@ ${PREFIX}/share/mwavem@g" ${WRKSRC}/src/drivers/Makefile
+ ${PERL} -pi.orig -e "s@#include <malloc.h>\n@@g" \
+ ${WRKSRC}/src/mwmbl/mwblapi.c \
+ ${WRKSRC}/src/mwwtt32/mwwttbl.c
pre-install:
${MKDIR} ${DATADIR}