source: trunk/dports/comms/cutecom-qt4-mac/files/patch-qcppdialogimpl.h @ 83987

Last change on this file since 83987 was 83987, checked in by ryandesign@…, 9 years ago

cutecom-qt4-mac: update to 0.22.0, use cmake portgroup; see #30779 (maintainer timeout)

File size: 581 bytes
Line 
1--- qcppdialogimpl.h.orig       2009-06-23 15:35:06.000000000 -0500
2+++ qcppdialogimpl.h    2011-09-14 03:18:04.000000000 -0500
3@@ -105,4 +105,21 @@
4 
5 };
6 
7+#if defined(__FreeBSD__)
8+
9+#define        DEVLIST "/dev/cuaU0"<<"/dev/cuaU1"<<"/dev/cuad0"<<"/dev/cuad1";
10+#define DEFAULT_DEV "/dev/cuaU0"
11+
12+#elif defined(__APPLE__)
13+
14+#define        DEVLIST "/dev/cu.usbserial"<<"/dev/cu.KeySerial1";
15+#define DEFAULT_DEV "/dev/cu.usbserial"
16+
17+#else  // Default to Linux devices.
18+
19+#define        DEVLIST "/dev/ttyS0"<<"/dev/ttyS1"<<"/dev/ttyS2"<<"/dev/ttyS3";
20+#define DEFAULT_DEV "/dev/ttyS0"
21+
22+#endif
23+
24 #endif
Note: See TracBrowser for help on using the repository browser.