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

testing/yara: fix test failure

Delete re_lexer.c file 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
parent a8300620
No related branches found
No related tags found
No related merge requests found
......@@ -7,11 +7,19 @@ pkgdesc="The pattern matching swiss knife for malware researchers"
url="https://virustotal.github.io/yara/"
arch="all"
license="BSD-3-Clause"
makedepends="automake file-dev libressl-dev autoconf libtool"
makedepends="automake file-dev libressl-dev autoconf libtool flex"
source="$pkgname-$pkgver.tar.gz::https://github.com/VirusTotal/$pkgname/archive/v$pkgver.tar.gz"
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