summaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2020-05-16 19:50:21 +0000
committerrillig <rillig@pkgsrc.org>2020-05-16 19:50:21 +0000
commit020012e77ccb5631d5d0dc9c807ba7a226861d6f (patch)
tree8d179832ae918299efb659cd1afd8d6ff1611c41 /biology
parent57f0ce8fe5b61b334a0b38107072270a6bbfd39c (diff)
downloadpkgsrc-020012e77ccb5631d5d0dc9c807ba7a226861d6f.tar.gz
biology/canu: fix build on NetBSD-8.0-x86_64
Diffstat (limited to 'biology')
-rw-r--r--biology/canu/distinfo3
-rw-r--r--biology/canu/patches/patch-fastq-utilities_fastqSimulate_C19
2 files changed, 21 insertions, 1 deletions
diff --git a/biology/canu/distinfo b/biology/canu/distinfo
index aa0c188c636..988cef83d0e 100644
--- a/biology/canu/distinfo
+++ b/biology/canu/distinfo
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.1 2019/01/07 02:33:17 bacon Exp $
+$NetBSD: distinfo,v 1.2 2020/05/16 19:50:21 rillig Exp $
SHA1 (canu-1.8.tar.gz) = 7dd79415aa5ecb95f05109f0d8d58f7cbfc336e9
RMD160 (canu-1.8.tar.gz) = 78d4872b4034f526037ce225c699debd910bd586
SHA512 (canu-1.8.tar.gz) = 650bc96675f371596f8e7748d4ab2d229f0262bf84cee8fed59af43d534d76095a72e4ba0b4a5ce9f561992268c317964cda2f6c89ee514f4920e2ba47fbc86c
Size (canu-1.8.tar.gz) = 2465314 bytes
SHA1 (patch-Makefile) = aa83003677cbb12558e438c776402ec48df0598d
+SHA1 (patch-fastq-utilities_fastqSimulate_C) = 959beef6e42c8158050958964924813b814b5a11
SHA1 (patch-pipelines_canu_Defaults.pm) = 55a4631d86abb1881b0cc997514d44c536209ea6
SHA1 (patch-pipelines_canu_Execution.pm) = fbb080c06ea5d2393d1835a61771715d2aef0274
SHA1 (patch-utility_objectStore.C) = c8407de79abbaf296f027f704080cc7e878b85f4
diff --git a/biology/canu/patches/patch-fastq-utilities_fastqSimulate_C b/biology/canu/patches/patch-fastq-utilities_fastqSimulate_C
new file mode 100644
index 00000000000..aec3fcf9754
--- /dev/null
+++ b/biology/canu/patches/patch-fastq-utilities_fastqSimulate_C
@@ -0,0 +1,19 @@
+$NetBSD: patch-fastq-utilities_fastqSimulate_C,v 1.1 2020/05/16 19:50:21 rillig Exp $
+
+fastq-utilities/fastqSimulate.C:796:31: error: 'UINT64_MAX' was not declared in this scope
+ uint64 numReads = UINT64_MAX; // Number of reads to generate, constant
+
+AS_global.h must be included before the headers from the standard library
+to get the UINT64_MAX macro.
+
+--- fastq-utilities/fastqSimulate.C.orig 2018-10-22 16:47:31.000000000 +0000
++++ fastq-utilities/fastqSimulate.C
+@@ -35,6 +35,8 @@
+ * full conditions and disclaimers for each license.
+ */
+
++#include "AS_global.H"
++
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <errno.h>