aboutsummaryrefslogtreecommitdiffstats
path: root/x11/libhelp
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-05-31 12:57:17 +0800
committersteve <steve@FreeBSD.org>1999-05-31 12:57:17 +0800
commitb22c1be2966fc483b60249730236782c849d4c82 (patch)
treea7284751010159191f1751093ec0e2229ccad6b3 /x11/libhelp
parent3d3876b6555746b0aed60717b27117b308681664 (diff)
downloadfreebsd-ports-gnome-b22c1be2966fc483b60249730236782c849d4c82.tar.gz
freebsd-ports-gnome-b22c1be2966fc483b60249730236782c849d4c82.tar.zst
freebsd-ports-gnome-b22c1be2966fc483b60249730236782c849d4c82.zip
Fix build for Alpha.
Diffstat (limited to 'x11/libhelp')
-rw-r--r--x11/libhelp/files/patch-ad22
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 ----