Skip to content
Snippets Groups Projects
Commit a1e9c360 authored by Roberto Oliveira's avatar Roberto Oliveira
Browse files

testing/yara: keep using workaround in 3.7.0 version

For more info see commit 8db25d5f
parent ea795311
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
pkgname=yara
pkgver=3.7.0
pkgrel=0
pkgrel=1
pkgdesc="The pattern matching swiss knife for malware researchers"
url="https://virustotal.github.io/yara/"
arch="all !armhf" # armhf: tests fail
......@@ -12,6 +12,15 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/VirusTotal/$pkgname/archive/
subpackages="$pkgname-doc"
builddir="$srcdir/$pkgname-$pkgver"
prepare() {
default_prepare
# Delete re_lexer.c to force it to be build with new version
# of flex, othwewise tests fail in some arches because of a bug
# in older version of flex.
# See: https://github.com/VirusTotal/yara/issues/771
rm "$srcdir"/yara-3.6.3/libyara/re_lexer.c
}
build() {
cd "$builddir"
autoreconf -fiv
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment