openbsd-ports/www/iridium/patches/patch-device_serial_BUILD_gn
2018-05-04 07:14:57 +00:00

20 lines
474 B
Plaintext

$OpenBSD: patch-device_serial_BUILD_gn,v 1.5 2018/05/04 07:14:57 robert Exp $
Index: device/serial/BUILD.gn
--- device/serial/BUILD.gn.orig
+++ device/serial/BUILD.gn
@@ -58,6 +58,13 @@ if (is_win || is_linux || is_mac) {
"//third_party/re2",
]
+ if (is_openbsd) {
+ sources -= [
+ "serial_device_enumerator_linux.cc",
+ "serial_device_enumerator_linux.h"
+ ]
+ }
+
if (use_udev) {
deps += [ "//device/udev_linux" ]
}