pkgsrc-WIP-changes archive

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

canu: Add NetBSD patches, successful build



Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <bacon%NetBSD.org@localhost>
Pushed By:	outpaddling
Date:		Sat Dec 22 20:12:05 2018 -0600
Changeset:	a648af686a9cc99b68b7d2ecff3fb7ed631daa04

Modified Files:
	canu/distinfo
Added Files:
	canu/patches/patch-utility_objectStore.C

Log Message:
canu: Add NetBSD patches, successful build

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a648af686a9cc99b68b7d2ecff3fb7ed631daa04

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 canu/distinfo                            |  2 ++
 canu/patches/patch-utility_objectStore.C | 17 +++++++++++++++++
 2 files changed, 19 insertions(+)

diffs:
diff --git a/canu/distinfo b/canu/distinfo
index a657b45f24..3046631912 100644
--- a/canu/distinfo
+++ b/canu/distinfo
@@ -4,5 +4,7 @@ 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) = 9b86a5697e3752c55a35fcff9dd14a11de25a5f9
 SHA1 (patch-pipelines_canu_Defaults.pm) = 987c1e370bc81381824f86001f70da66ea251524
 SHA1 (patch-pipelines_canu_Execution.pm) = 4c8ad9a3be08a8e5885e3ef35dca33e85c344547
+SHA1 (patch-utility_objectStore.C) = 9b466edcfdc608345c5f9128bdd416209e08e33a
diff --git a/canu/patches/patch-utility_objectStore.C b/canu/patches/patch-utility_objectStore.C
new file mode 100644
index 0000000000..b361580ece
--- /dev/null
+++ b/canu/patches/patch-utility_objectStore.C
@@ -0,0 +1,17 @@
+$NetBSD$
+
+# Portability
+--- utility/objectStore.C.orig	2018-12-23 01:57:06.000000000 +0000
++++ utility/objectStore.C
+@@ -286,6 +286,11 @@ fetchFromObjectStore(char *requested) {
+   //  Otherwise, we're still the parent, so wait for the (-1 == any) child
+   //  process to terminate.
+ 
++// NetBSD does not provide WEXITED so send empty bitmask
++#ifdef __NetBSD__
++#define	WEXITED	0
++#endif
++
+   waitpid(-1, &err, WEXITED);
+ 
+   if ((WIFEXITED(err)) &&


Home | Main Index | Thread Index | Old Index