diff options
author | kris <kris@FreeBSD.org> | 2002-03-31 12:35:41 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-03-31 12:35:41 +0800 |
commit | b9ab3bf2f614da03f9827aeb8ef1ba7cf4f10c0c (patch) | |
tree | 6ea777717af3b6bd0e93a50b80296421af47dcee /x11-fm | |
parent | d2996296b6b1eeaf335174e75735d56fec52a423 (diff) | |
download | freebsd-ports-graphics-b9ab3bf2f614da03f9827aeb8ef1ba7cf4f10c0c.tar.gz freebsd-ports-graphics-b9ab3bf2f614da03f9827aeb8ef1ba7cf4f10c0c.tar.zst freebsd-ports-graphics-b9ab3bf2f614da03f9827aeb8ef1ba7cf4f10c0c.zip |
Remove #include <malloc.h>
Diffstat (limited to 'x11-fm')
-rw-r--r-- | x11-fm/xnc/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/x11-fm/xnc/Makefile b/x11-fm/xnc/Makefile index ffe6771e24e..1280c3b2e27 100644 --- a/x11-fm/xnc/Makefile +++ b/x11-fm/xnc/Makefile @@ -35,6 +35,12 @@ INSTALLS_SHLIB= yes MAN1= es.1 ives.1 vs.1 xjpegroot.1 xnc.1 xnlaunch.1 +pre-patch: + @${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \ + ${WRKSRC}/image/picinfo.h ${WRKSRC}/jpeg/jmemdos.c \ + ${WRKSRC}/libpng/ansi2knr.c ${WRKSRC}/libpng/pngconf.h \ + ${WRKSRC}/zlib/zutil.h + post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} |