Skip to content

Commit

Permalink
update bedgraphtobigwig with additional platform (#46516)
Browse files Browse the repository at this point in the history
* add additional platform

* increase build number

* add patch

* fix typo

---------

Co-authored-by: Pablo <pablo.aledo@gmail.com>
  • Loading branch information
pabloaledo and pablo-aledo authored Mar 20, 2024
1 parent f2a808b commit e5a8618
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
7 changes: 6 additions & 1 deletion recipes/ucsc-bedgraphtobigwig/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ source:
sha256: "{{ sha256 }}"
patches:
- "include.patch"
- "patch1.patch"

build:
number: 0
number: 1
run_exports:
- {{ pin_subpackage(package, max_pin=None) }}

Expand All @@ -40,6 +41,10 @@ test:
# just check for existence, because the individual packages have no unified behavior
- which {{ program }}

extra:
additional-platforms:
- linux-aarch64

about:
home: "http://hgdownload.cse.ucsc.edu/admin/exe/"
license: "varies; see http://genome.ucsc.edu/license"
Expand Down
19 changes: 19 additions & 0 deletions recipes/ucsc-bedgraphtobigwig/patch1.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
--- userApps/kent/src/lib/htmshell.c.old 2022-10-28 08:32:08.344445121 +0000
+++ userApps/kent/src/lib/htmshell.c 2022-10-28 08:32:31.708262420 +0000
@@ -711,11 +711,11 @@
puts("Status: 400\r");
puts("Content-Type: text/plain; charset=UTF-8\r");
puts("\r");
-if (format != NULL && args != NULL)
- {
- vfprintf(stdout, format, args);
- fprintf(stdout, "\n");
- }
+if (format != NULL)
+ {
+ vfprintf(stdout, format, args);
+ fprintf(stdout, "\n");
+ }
exit(-1);
}

0 comments on commit e5a8618

Please sign in to comment.