Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/biology/canu biology/canu: fix build on NetBSD-8.0-x86_64



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9b55d10c1857
branches:  trunk
changeset: 431863:9b55d10c1857
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat May 16 19:50:21 2020 +0000

description:
biology/canu: fix build on NetBSD-8.0-x86_64

diffstat:

 biology/canu/distinfo                                      |   3 +-
 biology/canu/patches/patch-fastq-utilities_fastqSimulate_C |  19 ++++++++++++++
 2 files changed, 21 insertions(+), 1 deletions(-)

diffs (39 lines):

diff -r b492cfb8ba34 -r 9b55d10c1857 biology/canu/distinfo
--- a/biology/canu/distinfo     Sat May 16 19:48:48 2020 +0000
+++ b/biology/canu/distinfo     Sat May 16 19:50:21 2020 +0000
@@ -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 -r b492cfb8ba34 -r 9b55d10c1857 biology/canu/patches/patch-fastq-utilities_fastqSimulate_C
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/biology/canu/patches/patch-fastq-utilities_fastqSimulate_C        Sat May 16 19:50:21 2020 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index