$OpenBSD: patch-device_serial_BUILD_gn,v 1.1 2016/10/27 18:30:41 robert Exp $
--- device/serial/BUILD.gn.orig.port	Sun Aug 14 22:32:10 2016
+++ device/serial/BUILD.gn	Sun Aug 14 22:32:51 2016
@@ -67,6 +67,13 @@ static_library("serial") {
     "//third_party/re2",
   ]
 
+  if (is_openbsd) {
+    sources -= [
+      "serial_device_enumerator_linux.cc",
+      "serial_device_enumerator_linux.h"
+    ]
+  }
+
   if (use_udev) {
     deps += [ "//device/udev_linux" ]
   }
