--- /dev/null
+DESCRIPTION = "CHMLIB is a library for dealing with Microsoft ITSS/CHM format files."
+LICENSE = "GPLv2"
+HOMEPAGE = "http://66.93.236.84/~jedwin/projects/chmlib/"
+
+SRC_URI = "http://66.93.236.84/~jedwin/projects/chmlib/${P}.tar.bz2 \
+ file://arm-guess.patch;patch=1"
+
+inherit autotools pkgconfig
+
+
+
--- /dev/null
+--- /tmp/chm_lib.c 2006-08-13 12:29:15.000000000 +0200
++++ chmlib-0.38/src/chm_lib.c 2006-08-13 12:29:43.148306000 +0200
+@@ -160,7 +160,8 @@
+ /* Sparc */
+ /* MIPS */
+ /* PPC */
+-#elif __i386__ || __sun || __sgi || __ppc__
++/* ARM */
++#elif __i386__ || __sun || __sgi || __ppc__ || __arm__
+ typedef unsigned char UChar;
+ typedef short Int16;
+ typedef unsigned short UInt16;