From 5c66009c0c2c3c5d32eaf373a44e7c729230b2ed Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Wed, 6 Jun 2012 23:09:53 +0200 Subject: dev-uitl/mfcuk: add data files, patch path to data files --- dev-util/mfcuk/files/mfcuk-fix-data-path.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 dev-util/mfcuk/files/mfcuk-fix-data-path.patch (limited to 'dev-util/mfcuk/files') diff --git a/dev-util/mfcuk/files/mfcuk-fix-data-path.patch b/dev-util/mfcuk/files/mfcuk-fix-data-path.patch new file mode 100644 index 0000000..41b4060 --- /dev/null +++ b/dev-util/mfcuk/files/mfcuk-fix-data-path.patch @@ -0,0 +1,17 @@ +Index: mfcuk_finger.c +=================================================================== +--- src/mfcuk_finger.c (revision 62) ++++ src/mfcuk_finger.c (working copy) +@@ -40,9 +40,9 @@ + + mfcuk_finger_tmpl_entry mfcuk_finger_db[] = + { +- { "./data/tmpls_fingerprints/mfcuk_tmpl_skgt.mfd", "Sofia SKGT", mfcuk_finger_default_comparator, mfcuk_finger_skgt_decoder, NULL }, +- { "./data/tmpls_fingerprints/mfcuk_tmpl_ratb.mfd", "Bucharest RATB", mfcuk_finger_default_comparator, mfcuk_finger_default_decoder, NULL }, +- { "./data/tmpls_fingerprints/mfcuk_tmpl_oyster.mfd", "London OYSTER", mfcuk_finger_default_comparator, mfcuk_finger_default_decoder, NULL }, ++ { "/usr/share/mfcuk/data/tmpls_fingerprints/mfcuk_tmpl_skgt.mfd", "Sofia SKGT", mfcuk_finger_default_comparator, mfcuk_finger_skgt_decoder, NULL }, ++ { "/usr/share/mfcuk/data/tmpls_fingerprints/mfcuk_tmpl_ratb.mfd", "Bucharest RATB", mfcuk_finger_default_comparator, mfcuk_finger_default_decoder, NULL }, ++ { "/usr/share/mfcuk/data/tmpls_fingerprints/mfcuk_tmpl_oyster.mfd", "London OYSTER", mfcuk_finger_default_comparator, mfcuk_finger_default_decoder, NULL }, + }; + + int mfcuk_finger_db_entries = sizeof(mfcuk_finger_db)/sizeof(mfcuk_finger_db[0]); -- cgit v1.2.3