1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Add patch in order to fix the build on ia64, alpha and sparc64

Submitted by:	pointyhat via kris
Approved by:	portmgr (linimon)
This commit is contained in:
Markus Brueffer 2005-08-12 18:55:09 +00:00
parent 6a8e1b51b3
commit 764ab73aef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=140866
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- chmlib-0.35/chm_lib.c.orig Thu Jun 30 19:24:09 2005
+++ chmlib-0.35/chm_lib.c Tue Aug 9 20:22:47 2005
@@ -160,7 +160,7 @@
/* Sparc */
/* MIPS */
/* PPC */
-#elif __i386__ || __sun || __sgi || __ppc__ || __x86_64__
+#elif __i386__ || __sun || __sgi || __ppc__ || __x86_64__ || __ia64__ || __alpha__ || __sparc64__
typedef unsigned char UChar;
typedef short Int16;
typedef unsigned short UInt16;

View File

@ -0,0 +1,11 @@
--- chmlib-0.35/chm_lib.c.orig Thu Jun 30 19:24:09 2005
+++ chmlib-0.35/chm_lib.c Tue Aug 9 20:22:47 2005
@@ -160,7 +160,7 @@
/* Sparc */
/* MIPS */
/* PPC */
-#elif __i386__ || __sun || __sgi || __ppc__ || __x86_64__
+#elif __i386__ || __sun || __sgi || __ppc__ || __x86_64__ || __ia64__ || __alpha__ || __sparc64__
typedef unsigned char UChar;
typedef short Int16;
typedef unsigned short UInt16;