aboutsummaryrefslogtreecommitdiffstats
path: root/dev-libs/libnfc/files/openpcd.patch
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2012-06-06 16:00:54 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2012-06-06 16:00:54 +0200
commit09607019fae85743dd54a0b343ce44ef677994ab (patch)
tree78216081057ac17cdbe82fe5908d2fc7bf217107 /dev-libs/libnfc/files/openpcd.patch
parent2046296222caa085d5eed72f534fae877a5b7dd1 (diff)
downloadoverlay-09607019fae85743dd54a0b343ce44ef677994ab.tar.gz
overlay-09607019fae85743dd54a0b343ce44ef677994ab.tar.xz
overlay-09607019fae85743dd54a0b343ce44ef677994ab.zip
dev-libs/libnfc: add LIBNFC_DRIVERS to choose drivers to compile, add openpcd patch
Diffstat (limited to 'dev-libs/libnfc/files/openpcd.patch')
-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