diff options
Diffstat (limited to 'recipes/libchm')
-rw-r--r-- | recipes/libchm/chmlib_0.38.bb | 10 | ||||
-rw-r--r-- | recipes/libchm/files/arm-guess.patch | 12 |
2 files changed, 22 insertions, 0 deletions
diff --git a/recipes/libchm/chmlib_0.38.bb b/recipes/libchm/chmlib_0.38.bb new file mode 100644 index 0000000000..2baf7eaac9 --- /dev/null +++ b/recipes/libchm/chmlib_0.38.bb @@ -0,0 +1,10 @@ +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 = "${DEBIAN_MIRROR}/main/c/chmlib/chmlib_0.380.orig.tar.gz \ + file://arm-guess.patch;patch=1" + +S = "${WORKDIR}/chmlib-0.380" + +inherit autotools pkgconfig diff --git a/recipes/libchm/files/arm-guess.patch b/recipes/libchm/files/arm-guess.patch new file mode 100644 index 0000000000..b524c81aac --- /dev/null +++ b/recipes/libchm/files/arm-guess.patch @@ -0,0 +1,12 @@ +--- /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; |