From 563804f3097c48c3a37f34985f1de4f3dd21e158 Mon Sep 17 00:00:00 2001 From: markus Date: Fri, 12 Aug 2005 18:55:09 +0000 Subject: Add patch in order to fix the build on ia64, alpha and sparc64 Submitted by: pointyhat via kris Approved by: portmgr (linimon) --- deskutils/kchmviewer-kde4/files/patch-chmlib-chm_lib.c | 11 +++++++++++ deskutils/kchmviewer/files/patch-chmlib-chm_lib.c | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 deskutils/kchmviewer-kde4/files/patch-chmlib-chm_lib.c create mode 100644 deskutils/kchmviewer/files/patch-chmlib-chm_lib.c (limited to 'deskutils') 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; diff --git a/deskutils/kchmviewer/files/patch-chmlib-chm_lib.c b/deskutils/kchmviewer/files/patch-chmlib-chm_lib.c new file mode 100644 index 000000000000..848732cdc121 --- /dev/null +++ b/deskutils/kchmviewer/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; -- cgit