Skip to content

Commit

Permalink
pblat: Add a patch to support linux-aarch64
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
  • Loading branch information
martin-g committed Nov 19, 2024
1 parent 50ccb3e commit e9dca5d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipes/pblat/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ package:
source:
url: https://github.com/icebert/pblat/archive/{{ version }}.tar.gz
sha256: e85a4d752b8e159502d529f0f9e47579851a6b466b6c2f1f4d49f598642bc615
patches:
- pblat-aarch64.patch # [aarch64]

build:
number: 3
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");

0 comments on commit e9dca5d

Please sign in to comment.