openbsd-ports/www/iridium/patches/patch-device_serial_BUILD_gn

19 lines
495 B
Plaintext

$OpenBSD: patch-device_serial_BUILD_gn,v 1.6 2018/11/05 22:04:39 robert Exp $
Index: device/serial/BUILD.gn
--- device/serial/BUILD.gn.orig
+++ device/serial/BUILD.gn
@@ -61,6 +61,12 @@ if (is_win || is_linux || is_mac) {
"serial_io_handler_posix.h",
]
}
+ if (is_openbsd) {
+ sources -= [
+ "serial_device_enumerator_linux.cc",
+ "serial_device_enumerator_linux.h"
+ ]
+ }
if (use_udev) {
deps += [ "//device/udev_linux" ]
}