$OpenBSD: patch-device_serial_BUILD_gn,v 1.3 2017/01/26 17:08:25 robert Exp $
--- device/serial/BUILD.gn.orig.port	Thu Dec 15 00:02:10 2016
+++ device/serial/BUILD.gn	Tue Jan  3 20:30:00 2017
@@ -52,6 +52,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" ]
   }
