openbsd-ports/geo/gpsbabel/patches/patch-gui_serial_unix_cpp
sthen 917b03dfb9 update to gpsbabel 1.4.3 from Kyrill Bychkov, maintainer timeout ~1month
- support new file formats
- adds new Qt gui
- don't hardcode dependency on Tcl/Tk 8.4 for the Tk gui
2012-02-18 22:04:07 +00:00

23 lines
530 B
Plaintext

$OpenBSD: patch-gui_serial_unix_cpp,v 1.1 2012/02/18 22:04:07 sthen Exp $
--- gui/serial_unix.cpp.orig Sun Jan 15 20:10:04 2012
+++ gui/serial_unix.cpp Sun Jan 15 20:11:26 2012
@@ -22,12 +22,12 @@
#if !defined (Q_OS_MAC) // FIXME: find a better way to hide this on Mac.
static const char *deviceNames[] = {
- "/dev/ttyS0",
- "/dev/ttyS1",
- "/dev/ttyS2",
- "/dev/ttyS3",
- "/dev/ttyUSB0",
- "/dev/rfcomm0",
+ "/dev/cua00",
+ "/dev/cua01",
+ "/dev/cua02",
+ "/dev/cua03",
+ "/dev/cuaU0",
+ "/dev/cuaU1",
0
};