diff options
author | Steve Price <steve@FreeBSD.org> | 1999-05-31 04:57:17 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1999-05-31 04:57:17 +0000 |
commit | a53d0ce8e7210a4aac7beefcccc51c2e316d969a (patch) | |
tree | dde1d16b64c621760c4360dbdd176c8317a2801d /x11/libhelp/files | |
parent | Mark broken for -current boxes with egcs. (diff) |
Fix build for Alpha.
Notes
Notes:
svn path=/head/; revision=19135
Diffstat (limited to 'x11/libhelp/files')
-rw-r--r-- | x11/libhelp/files/patch-ad | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/x11/libhelp/files/patch-ad b/x11/libhelp/files/patch-ad index 1e3f3048b2a8..11cf27ec09cd 100644 --- a/x11/libhelp/files/patch-ad +++ b/x11/libhelp/files/patch-ad @@ -1,16 +1,20 @@ 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 Mon Oct 20 19:00:12 1997 +--- libhtmlw/HTML-PSformat.c Sun May 30 18:26:14 1999 *************** -*** 47,53 **** +*** 47,57 **** #include <stdio.h> #include <ctype.h> #include <math.h> ! #include <malloc.h> #include "HTMLP.h" - + /* Fix thanks to robm. */ ---- 47,57 ---- +! #ifdef __alpha + #include <Xm/VaSimple.h> + #endif + +--- 47,61 ---- #include <stdio.h> #include <ctype.h> #include <math.h> @@ -20,12 +24,16 @@ diff -cb ../../../libhelp-1.8.1/libhtmlw/HTML-PSformat.c libhtmlw/HTML-PSformat. ! # 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 ---- |