freebsd-ports/x11/libhelp/files/patch-ad
1999-05-31 04:57:17 +00:00

39 lines
823 B
Text

diff -cb ../../../libhelp-1.8.1/libhtmlw/HTML-PSformat.c libhtmlw/HTML-PSformat.c
*** ../../../libhelp-1.8.1/libhtmlw/HTML-PSformat.c Mon Dec 26 12:15:57 1994
--- libhtmlw/HTML-PSformat.c Sun May 30 18:26:14 1999
***************
*** 47,57 ****
#include <stdio.h>
#include <ctype.h>
#include <math.h>
! #include <malloc.h>
#include "HTMLP.h"
/* Fix thanks to robm. */
! #ifdef __alpha
#include <Xm/VaSimple.h>
#endif
--- 47,61 ----
#include <stdio.h>
#include <ctype.h>
#include <math.h>
! #ifdef __FreeBSD__
! # include <stdlib.h>
! #else
! # include <malloc.h>
! #endif
#include "HTMLP.h"
/* Fix thanks to robm. */
! #if defined(__alpha) && !defined(__FreeBSD__)
#include <Xm/VaSimple.h>
#endif
***************
*** 1507,1510 ****
return( PS_string);
}
-
--- 1511,1513 ----