aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xscreensaver
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-11-10 02:33:41 +0800
committerijliao <ijliao@FreeBSD.org>2001-11-10 02:33:41 +0800
commit68eb97aefb2f913b123e1a719aa8a054fe58bd1a (patch)
tree74c76e3d20ba18753c3ab675eb9f6ee1a24fa0c4 /x11/xscreensaver
parente078710f017f2733ba909a0a04e6db5ecf2ea6cf (diff)
downloadfreebsd-ports-gnome-68eb97aefb2f913b123e1a719aa8a054fe58bd1a.tar.gz
freebsd-ports-gnome-68eb97aefb2f913b123e1a719aa8a054fe58bd1a.tar.zst
freebsd-ports-gnome-68eb97aefb2f913b123e1a719aa8a054fe58bd1a.zip
s/malloc.h/stdlib.h/
Diffstat (limited to 'x11/xscreensaver')
-rw-r--r--x11/xscreensaver/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/x11/xscreensaver/Makefile b/x11/xscreensaver/Makefile
index ac22c94d2be4..c626acc37776 100644
--- a/x11/xscreensaver/Makefile
+++ b/x11/xscreensaver/Makefile
@@ -44,6 +44,9 @@ post-patch:
@ ${CP} ${WRKSRC}/configure ${WRKSRC}/configure.Patched
@ ${SED} -e 's#-lpthread#${PTHREAD_LIBS}#g' \
${WRKSRC}/configure.Patched > ${WRKSRC}/configure
+.for file in pulsar.c extrusion.c extrusion.c
+ @${PERL} -pi -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/hacks/glx/${file}
+.endfor
.include <bsd.port.pre.mk>