diff --git a/recipes/pblat/meta.yaml b/recipes/pblat/meta.yaml index a772a31f7df35..6a444d26da303 100644 --- a/recipes/pblat/meta.yaml +++ b/recipes/pblat/meta.yaml @@ -7,9 +7,13 @@ package: source: url: https://github.com/icebert/pblat/archive/{{ version }}.tar.gz sha256: e85a4d752b8e159502d529f0f9e47579851a6b466b6c2f1f4d49f598642bc615 + patches: + - pblat-aarch64.patch # [aarch64] build: - number: 2 + number: 3 + run_exports: + - {{ pin_subpackage("pblat", max_pin="x.x") }} requirements: build: @@ -34,6 +38,9 @@ about: dev_url: https://github.com/icebert/pblat extra: + additional-platforms: + - linux-aarch64 + - osx-arm64 notes: "pblat is modified from blat, the licence is the same as blat. The source code and executables are freely available for academic, nonprofit and personal use. Commercial licensing information is available on the Kent Informatics website. To cite: Wang M & Kong L. pblat: a multithread blat algorithm speeding up aligning sequences to genomes. BMC Bioinformatics 2019, 20(1)." identifiers: - biotools:pblat diff --git a/recipes/pblat/pblat-aarch64.patch b/recipes/pblat/pblat-aarch64.patch new file mode 100644 index 0000000000000..63777f6c58e72 --- /dev/null +++ b/recipes/pblat/pblat-aarch64.patch @@ -0,0 +1,13 @@ +diff --git i/lib/htmshell.c w/lib/htmshell.c +index 46d1f19..5ea164e 100644 +--- i/lib/htmshell.c ++++ w/lib/htmshell.c +@@ -711,7 +711,7 @@ void htmlVaBadRequestAbort(char *format, va_list args) + puts("Status: 400\r"); + puts("Content-Type: text/plain; charset=UTF-8\r"); + puts("\r"); +-if (format != NULL && args != NULL) ++if (format != NULL) + { + vfprintf(stdout, format, args); + fprintf(stdout, "\n");