1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/comms/cutecom/files/patch-qcppdialogimpl.h
Max Brazhnikov f4344fa32b Update to 0.20.0, switch to Qt4.
Pass maintainership to submitter.

PR:		based on ports/133788
Submitted by:	Jason Bacon <jwbacon at tds.net>
Approved by:	markus (previous maintainer)
2009-04-28 19:17:53 +00:00

25 lines
581 B
C

--- qcppdialogimpl.h.orig 2008-03-12 16:09:50.000000000 -0500
+++ qcppdialogimpl.h 2009-03-28 09:05:42.000000000 -0500
@@ -103,4 +103,21 @@
};
+#if defined(__FreeBSD__)
+
+#define DEVLIST "/dev/cuaU0"<<"/dev/cuaU1"<<"/dev/cuad0"<<"/dev/cuad1";
+#define DEFAULT_DEV "/dev/cuaU0"
+
+#elif defined(__APPLE__)
+
+#define DEVLIST "/dev/cu.usbserial"<<"/dev/cu.KeySerial1";
+#define DEFAULT_DEV "/dev/cu.usbserial"
+
+#else // Default to Linux devices.
+
+#define DEVLIST "/dev/ttyS0"<<"/dev/ttyS1"<<"/dev/ttyS2"<<"/dev/ttyS3";
+#define DEFAULT_DEV "/dev/ttyS0"
+
+#endif
+
#endif