diff --git a/extra/chmlib/PKGBUILD b/extra/chmlib/PKGBUILD index 8aed88be0..e92cf342c 100644 --- a/extra/chmlib/PKGBUILD +++ b/extra/chmlib/PKGBUILD @@ -17,7 +17,7 @@ depends=('glibc') source=("http://morte.jedrea.com/~jedwin/projects/${pkgname}/${pkgname}-${pkgver}.tar.bz2" "arm.patch") md5sums=('7ea49ed8c335215c1edc6fae83e6b912' - 'aae01483e3fc2d37ee1984cb936e58f3') + 'c955ee2709b5d4d1dc29751d941d5c81') build() { cd "${srcdir}"/${pkgname}-${pkgver} diff --git a/extra/chmlib/arm.patch b/extra/chmlib/arm.patch index e9674aace..d833d0eef 100644 --- a/extra/chmlib/arm.patch +++ b/extra/chmlib/arm.patch @@ -1,6 +1,6 @@ -diff -urN chmlib-0.40.orig/src/chm_lib.c chmlib-0.40/src/chm_lib.c ---- chmlib-0.40.orig/src/chm_lib.c 2009-05-23 08:43:31.000000000 -0600 -+++ chmlib-0.40/src/chm_lib.c 2011-01-21 17:42:45.000000000 -0700 +diff -urN a/src/chm_lib.c b/src/chm_lib.c +--- a/src/chm_lib.c 2009-05-23 08:43:31.000000000 -0600 ++++ b/src/chm_lib.c 2015-07-18 14:15:00.588557608 -0600 @@ -153,7 +153,7 @@ /* Sparc */ /* MIPS */ @@ -10,3 +10,12 @@ diff -urN chmlib-0.40.orig/src/chm_lib.c chmlib-0.40/src/chm_lib.c typedef unsigned char UChar; typedef short Int16; typedef unsigned short UInt16; +@@ -164,7 +164,7 @@ + + /* x86-64 */ + /* Note that these may be appropriate for other 64-bit machines. */ +-#elif __x86_64__ || __ia64__ ++#elif __x86_64__ || __ia64__ || __aarch64__ + typedef unsigned char UChar; + typedef short Int16; + typedef unsigned short UInt16;