aboutsummaryrefslogtreecommitdiffstats
path: root/dev-util/mfcuk/files
diff options
context:
space:
mode:
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]);