summaryrefslogtreecommitdiff
path: root/deskutils/kchmviewer-kde4
diff options
context:
space:
mode:
authorMarkus Brueffer <markus@FreeBSD.org>2005-08-12 18:55:09 +0000
committerMarkus Brueffer <markus@FreeBSD.org>2005-08-12 18:55:09 +0000
commit764ab73aefb5c4ff53fbaf044760aa392f245130 (patch)
treee093b5073d55dfb5dc935278abffde7cf745684f /deskutils/kchmviewer-kde4
parentReplace unreliable mastersite with the sourceforge mirrors as they now carry (diff)
Add patch in order to fix the build on ia64, alpha and sparc64
Submitted by: pointyhat via kris Approved by: portmgr (linimon)
Notes
Notes: svn path=/head/; revision=140866
Diffstat (limited to 'deskutils/kchmviewer-kde4')
-rw-r--r--deskutils/kchmviewer-kde4/files/patch-chmlib-chm_lib.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/deskutils/kchmviewer-kde4/files/patch-chmlib-chm_lib.c b/deskutils/kchmviewer-kde4/files/patch-chmlib-chm_lib.c
new file mode 100644
index 000000000000..848732cdc121
--- /dev/null
+++ b/deskutils/kchmviewer-kde4/files/patch-chmlib-chm_lib.c
@@ -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;