aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2012-06-06 22:09:18 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2012-06-06 22:12:48 +0200
commitc8d2fdbaf244111a7888b206c802970d2602e3f0 (patch)
tree649a6a5657238f64fadbec1f23f469b308d66189
parent6c2240fc6da443624768286ab1b6c29191ce2956 (diff)
downloadoverlay-c8d2fdbaf244111a7888b206c802970d2602e3f0.tar.gz
overlay-c8d2fdbaf244111a7888b206c802970d2602e3f0.tar.xz
overlay-c8d2fdbaf244111a7888b206c802970d2602e3f0.zip
dev-libs/libnfc: add patch to be able to query bEasyFraming
Diffstat (limited to '')
-rw-r--r--dev-libs/libnfc/Manifest3
-rw-r--r--dev-libs/libnfc/files/add-get-easy-frameing.patch27
-rw-r--r--dev-libs/libnfc/libnfc-1.6.0_rc1-r2.ebuild (renamed from dev-libs/libnfc/libnfc-1.6.0_rc1-r1.ebuild)1
3 files changed, 30 insertions, 1 deletions
diff --git a/dev-libs/libnfc/Manifest b/dev-libs/libnfc/Manifest
index 034b3cd..23e39d0 100644
--- a/dev-libs/libnfc/Manifest
+++ b/dev-libs/libnfc/Manifest
@@ -1,3 +1,4 @@
+AUX add-get-easy-frameing.patch 1098 RMD160 90b4e421bf2473ef8fe306ed2b177e4b3ac7fc68 SHA1 303084a8a252d39e7e06cd922cbf97d417074dfc SHA256 381eccb61e34c755112348f47db4131dfdf4417e5c2b0d715fe70a0635f5b6e3
AUX openpcd.patch 476 RMD160 4e2c168623001ed35c38a8714b4d305bff33d4b5 SHA1 c8f7cbc353613a4d675ae39d1ef56eb74b78ae43 SHA256 06bbc1fdf6456d2721883fa53e3c0b244e29ffdb88b1e35347c64e4c26264ed3
DIST libnfc-1.6.0-rc1.tar.gz 571772 RMD160 9f04b5f760d45548f4f5eb9474a6eea70a804531 SHA1 bbff76269120c3a531eb96b7ceb96fd36c0071a1 SHA256 f95263c9ba5e3b8fc6e366329241e1d2eaa6d2503475554f0e88dfc81fc5235f
-EBUILD libnfc-1.6.0_rc1-r1.ebuild 1390 RMD160 c4f21ba9ecc46a4bfaa7efc8eb210f9bf18e9c65 SHA1 da027384ea5f22dd5982cb7954b09659acfa4605 SHA256 8432e484fc8500a9cddfb26fd88cb76c2e5be778dc473035ba465cd913d31b4f
+EBUILD libnfc-1.6.0_rc1-r2.ebuild 1440 RMD160 ce25804784efb32a9fe281afec713eed53992ee6 SHA1 d737669701289b587a313c3e67e7e3b33bba46f1 SHA256 c0f6ff031c06a711940b903d76c76786fbfff4c12e3ce710e7a3efe7f870537f
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
+
diff --git a/dev-libs/libnfc/libnfc-1.6.0_rc1-r1.ebuild b/dev-libs/libnfc/libnfc-1.6.0_rc1-r2.ebuild
index aef964c..fa60d2e 100644
--- a/dev-libs/libnfc/libnfc-1.6.0_rc1-r1.ebuild
+++ b/dev-libs/libnfc/libnfc-1.6.0_rc1-r2.ebuild
@@ -30,6 +30,7 @@ DEPEND="${CDEPEND}
RDEPEND="${CDEPEND}"
src_prepare() {
+ epatch "${FILESDIR}/add-get-easy-frameing.patch"
use libnfc_drivers_pn532_uart && epatch "${FILESDIR}/openpcd.patch"
}