Bug 32244 - textproc/rtf2htm fails to compile due to malloc.h
Summary: textproc/rtf2htm fails to compile due to malloc.h
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-11-24 06:50 UTC by Anthony Kim
Modified: 2001-11-24 10:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Kim 2001-11-24 06:50:00 UTC
textproc/rtf2htm files to make due to malloc.h include in malloc.c

Fix: 

If there's somewhere else I should be looking to fix these, please drop me a helpful hint! Tks.

> --- malloc.c.orig     Wed Nov 21 12:59:03 2001
> +++ malloc.c  Wed Nov 21 12:59:15 2001
> @@ -37,7 +37,7 @@
>  #ifndef BSD
>  
>  #ifndef TURBO_C
> -#include <malloc.h>
> +#include <stdlib.h>
>  #else
>  #include <alloc.h>
>  #endif
How-To-Repeat: cd /usr/ports/textproc/rtf2htm ; make install
Comment 1 Patrick Li freebsd_committer freebsd_triage 2001-11-24 10:04:52 UTC
State Changed
From-To: open->closed

Committed (but use perl patch in port Makefile instead), Thanks for the report!