aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nototools/data_path.patch
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-12-13 16:50:17 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2016-12-18 20:28:52 +0100
commit4d775dd1b1928b710e198bf94b85b6577f87a0ff (patch)
tree9a2e5827e115ede964402ebfcff8e130b0ab0ad0 /testing/nototools/data_path.patch
parentb64561804fe039fd6f3b767734773ef70e231310 (diff)
downloadaports-4d775dd1b1928b710e198bf94b85b6577f87a0ff.tar.bz2
aports-4d775dd1b1928b710e198bf94b85b6577f87a0ff.tar.xz
testing/nototools: new aport
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