diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-03-31 04:35:41 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-03-31 04:35:41 +0000 |
commit | 8476776ec60e071b7fb0df9341fcd550a747d2ff (patch) | |
tree | 32d4ee0d72ec0f42154d0f9854c2a7dddf652724 /x11-fm | |
parent | Remove #include <malloc.h>. Build seems to still be broken. (diff) |
Remove #include <malloc.h>
Notes
Notes:
svn path=/head/; revision=57021
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 ffe6771e24e0..1280c3b2e272 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} |