aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nototools/data_path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/nototools/data_path.patch')
-rw-r--r--testing/nototools/data_path.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/nototools/data_path.patch b/testing/nototools/data_path.patch
new file mode 100644
index 0000000000..bbfcefdc7c
--- /dev/null
+++ b/testing/nototools/data_path.patch
@@ -0,0 +1,14 @@
+diff -upr a/nototools/unicode_data.py b/nototools/unicode_data.py
+--- a/nototools/unicode_data.py 2016-07-18 23:42:00.000000000 +0200
++++ b/nototools/unicode_data.py 2016-12-16 01:27:55.783284557 +0100
+@@ -401,8 +401,7 @@ def all_scripts():
+ return frozenset(_script_code_to_long_name.keys())
+
+
+-_DATA_DIR_PATH = path.join(path.abspath(path.dirname(__file__)),
+- os.pardir, "third_party", "ucd")
++_DATA_DIR_PATH = "/usr/share/nototools/third_party/ucd"
+
+
+ def open_unicode_data_file(data_file_name):
+Only in b/nototools: unicode_data.py.orig