Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building pblat for more platforms #51890

Merged
merged 4 commits into from
Nov 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion recipes/pblat/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
13 changes: 13 additions & 0 deletions recipes/pblat/pblat-aarch64.patch
Original file line number Diff line number Diff line change
@@ -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");