aboutsummaryrefslogtreecommitdiffstats
path: root/dev-libs/libnfc/files/add-get-easy-frameing.patch
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dev-libs/libnfc/files/add-get-easy-frameing.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-libs/libnfc/files/add-get-easy-frameing.patch b/dev-libs/libnfc/files/add-get-easy-frameing.patch
new file mode 100644
index 0000000..5d5bd64
--- /dev/null
+++ b/dev-libs/libnfc/files/add-get-easy-frameing.patch
@@ -0,0 +1,27 @@
+--- libnfc-1.6.0-rc1/include/nfc/nfc.h 2012-03-01 16:02:42.000000000 +0100
++++ libnfc-1.6.0-rc1/include/nfc/nfc.h 2012-06-06 22:03:00.340374314 +0200
+@@ -105,6 +103,7 @@
+ NFC_EXPORT const char *nfc_device_get_connstring (nfc_device *pnd);
+ NFC_EXPORT int nfc_device_get_supported_modulation (nfc_device *pnd, const nfc_mode mode, const nfc_modulation_type **const supported_mt);
+ NFC_EXPORT int nfc_device_get_supported_baud_rate (nfc_device *pnd, const nfc_modulation_type nmt, const nfc_baud_rate **const supported_br);
++ NFC_EXPORT bool nfc_device_get_easy_framing (nfc_device *pnd);
+
+ /* Properties accessors */
+ NFC_EXPORT int nfc_device_set_property_int (nfc_device *pnd, const nfc_property property, const int value);
+
+--- libnfc-1.6.0-rc1/libnfc/nfc.c 2012-03-01 16:02:42.000000000 +0100
++++ libnfc-1.6.0-rc1/libnfc/nfc.c 2012-06-06 22:03:32.110977125 +0200
+@@ -1017,6 +1017,12 @@
+ HAL (get_supported_baud_rate, pnd, nmt, supported_br);
+ }
+
++bool
++nfc_device_get_easy_framing (nfc_device *pnd)
++{
++ return pnd->bEasyFraming;
++}
++
+ /* Misc. functions */
+
+ /** @ingroup misc
+