~cypheon/pkgsrc-wip

pkgsrc-wip/canu/patches/patch-utility_objectStore.C -rw-r--r-- 516 bytes
5f1bf4f5 — Johann Rudloff Subst PLIST paths for platform specific files for other architectures 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD$

# NetBSD does not provide WEXITED
# Empty bitmask should suffice in this case

--- 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)) &&