Apply patch for netbsd multiprocessing support
diff --git a/setup.py b/setup.py
index f1e983d..d3b39ba 100644
--- a/setup.py
+++ b/setup.py
@@ -1280,6 +1280,15 @@
                 )
             libraries = []
 
+        elif platform.startswith('netbsd'):
+            macros = dict(                  # at least NetBSD 5
+                HAVE_SEM_OPEN=1,
+                HAVE_SEM_TIMEDWAIT=0,
+                HAVE_FD_TRANSFER=1,
+                HAVE_BROKEN_SEM_GETVALUE=1
+                )
+            libraries = []
+
         else:                                   # Linux and other unices
             macros = dict(
                 HAVE_SEM_OPEN=1,