community/julius to 4.4.2.1-1

This commit is contained in:
Kevin Mihelich 2017-01-09 13:29:01 +00:00
parent d43c636da9
commit fde8596dbd
2 changed files with 10 additions and 10 deletions

View file

@ -1,6 +1,6 @@
From 06b026817594649a0e12f3687d5a4e400e3a91c4 Mon Sep 17 00:00:00 2001
From b3cb4617e396829c1344cb033c75062ada792bd4 Mon Sep 17 00:00:00 2001
From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Mon, 14 Nov 2016 20:51:49 -0700
Date: Mon, 9 Jan 2017 06:28:14 -0700
Subject: [PATCH] AArch64 cpuid fix
Signed-off-by: Kevin Mihelich <kevin@archlinuxarm.org>
@ -9,18 +9,18 @@ Signed-off-by: Kevin Mihelich <kevin@archlinuxarm.org>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libsent/src/phmm/calc_dnn.c b/libsent/src/phmm/calc_dnn.c
index bfd741d..27d3c7c 100644
index c7a8a53..34dcd1b 100644
--- a/libsent/src/phmm/calc_dnn.c
+++ b/libsent/src/phmm/calc_dnn.c
@@ -12,7 +12,7 @@
#ifdef _WIN32
#include <intrin.h>
#else
-#ifndef __arm__
+#if !defined(__arm__) && !defined(__aarch64__)
-#if defined(__arm__) || TARGET_OS_IPHONE
+#if defined(__arm__) || defined(__aarch64__) || TARGET_OS_IPHONE
#else
#include <cpuid.h>
#endif
#endif /* _WIN32 */
--
2.10.2

View file

@ -7,8 +7,8 @@
# - patch for AArch64
pkgname=julius
pkgver=4.4.2
pkgrel=2
pkgver=4.4.2.1
pkgrel=1
pkgdesc="A high-performance, two-pass large vocabulary continuous speech recognition decoder software"
arch=("i686" "x86_64")
url="http://julius.sourceforge.jp/"
@ -18,9 +18,9 @@ optdepends=("voxforge-am-julius: acoustic models")
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/julius-speech/julius/archive/v${pkgver}.tar.gz"
"configure.patch"
'0001-AArch64-cpuid-fix.patch')
md5sums=('1891077bbca02dc9d6d6368c1efb2e4c'
md5sums=('9760ad16eb643267c3101f105deec2ff'
'9fe2a29fdec779104f69539ad4d1cce0'
'e60b17977890c9407993d30c49d6a30d')
'5e62d26ac5b95aa8f53ecf9c40e2a75a')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"