summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/libchm/.mtn2git_empty0
-rw-r--r--packages/libchm/chmlib_0.38.bb11
-rw-r--r--packages/libchm/files/.mtn2git_empty0
-rw-r--r--packages/libchm/files/arm-guess.patch12
4 files changed, 23 insertions, 0 deletions
diff --git a/packages/libchm/.mtn2git_empty b/packages/libchm/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/libchm/.mtn2git_empty
diff --git a/packages/libchm/chmlib_0.38.bb b/packages/libchm/chmlib_0.38.bb
new file mode 100644
index 0000000000..4b44b7ce57
--- /dev/null
+++ b/packages/libchm/chmlib_0.38.bb
@@ -0,0 +1,11 @@
+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
+
+
+
diff --git a/packages/libchm/files/.mtn2git_empty b/packages/libchm/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/libchm/files/.mtn2git_empty
diff --git a/packages/libchm/files/arm-guess.patch b/packages/libchm/files/arm-guess.patch
new file mode 100644
index 0000000000..b524c81aac
--- /dev/null
+++ b/packages/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;