aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-09-29 15:55:30 +0800
committerkris <kris@FreeBSD.org>2002-09-29 15:55:30 +0800
commit150f95d6c2222efd349a758f6a8ab838316ed696 (patch)
tree8d524fba69f86128ec30b3785e233be749948354 /editors
parente496c53905a616c7657228be78fa8c142c83b19a (diff)
downloadfreebsd-ports-gnome-150f95d6c2222efd349a758f6a8ab838316ed696.tar.gz
freebsd-ports-gnome-150f95d6c2222efd349a758f6a8ab838316ed696.tar.zst
freebsd-ports-gnome-150f95d6c2222efd349a758f6a8ab838316ed696.zip
Fix build (remove bogus *alloc declarations)
Submitted by: Adam Weinberger <adam@vectors.cx> PR: ports/41101
Diffstat (limited to 'editors')
-rw-r--r--editors/xed/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/editors/xed/Makefile b/editors/xed/Makefile
index 850b8fbf39e8..455c1258a50b 100644
--- a/editors/xed/Makefile
+++ b/editors/xed/Makefile
@@ -17,6 +17,10 @@ MAINTAINER= shanee@augusta.de
USE_IMAKE= yes
USE_XPM= yes
+USE_REINPLACE=yes
MAN1= xed.1
+pre-build:
+ @${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|extern char \*malloc();|/\* extern char \*malloc(); \*/|g'
.include <bsd.port.mk>