aboutsummaryrefslogtreecommitdiffstats
path: root/dev-util/mfcuk/files
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2012-06-06 23:09:53 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2012-06-06 23:09:53 +0200
commit5c66009c0c2c3c5d32eaf373a44e7c729230b2ed (patch)
tree2ca587d16210f819b11b159802adeadf1682c2ad /dev-util/mfcuk/files
parent3a700aeb1c0f8b4ec2f3ffd3450d918d9597105f (diff)
downloadoverlay-5c66009c0c2c3c5d32eaf373a44e7c729230b2ed.tar.gz
overlay-5c66009c0c2c3c5d32eaf373a44e7c729230b2ed.tar.xz
overlay-5c66009c0c2c3c5d32eaf373a44e7c729230b2ed.zip
dev-uitl/mfcuk: add data files, patch path to data files
Diffstat (limited to 'dev-util/mfcuk/files')
-rw-r--r--dev-util/mfcuk/files/mfcuk-fix-data-path.patch17
1 files changed, 17 insertions, 0 deletions
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]);