aboutsummaryrefslogtreecommitdiffstats
path: root/dev-libs/libnfc/files/openpcd.patch
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dev-libs/libnfc/files/openpcd.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-libs/libnfc/files/openpcd.patch b/dev-libs/libnfc/files/openpcd.patch
new file mode 100644
index 0000000..67d3df2
--- /dev/null
+++ b/dev-libs/libnfc/files/openpcd.patch
@@ -0,0 +1,11 @@
+--- libnfc/buses/uart_posix.c (Revision 1433)
++++ libnfc/buses/uart_posix.c (Arbeitskopie)
+@@ -52,7 +52,7 @@
+ # elif defined (__FreeBSD__) || defined (__OpenBSD__)
+ char *serial_ports_device_radix[] = { "cuaU", "cuau", NULL };
+ # elif defined (__linux__)
+-char *serial_ports_device_radix[] = { "ttyUSB", "ttyS", NULL };
++char *serial_ports_device_radix[] = { "ttyACM", "ttyUSB", "ttyS", NULL };
+ # else
+ # error "Can't determine serial string for your system"
+ # endif