diff options
Diffstat (limited to 'testing/opencc/python3.patch')
| -rw-r--r-- | testing/opencc/python3.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/opencc/python3.patch b/testing/opencc/python3.patch new file mode 100644 index 0000000000..46e1198685 --- /dev/null +++ b/testing/opencc/python3.patch @@ -0,0 +1,14 @@ +diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt +index 1516775..3989bad 100644 +--- a/data/CMakeLists.txt ++++ b/data/CMakeLists.txt +@@ -1,6 +1,6 @@ + set(OPENCC_DICT_BIN opencc_dict) +-set(DICT_MERGE_BIN python ${CMAKE_CURRENT_SOURCE_DIR}/scripts/merge.py) +-set(DICT_REVERSE_BIN python ${CMAKE_CURRENT_SOURCE_DIR}/scripts/reverse.py) ++set(DICT_MERGE_BIN python3 ${CMAKE_CURRENT_SOURCE_DIR}/scripts/merge.py) ++set(DICT_REVERSE_BIN python3 ${CMAKE_CURRENT_SOURCE_DIR}/scripts/reverse.py) + set(DICT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/dictionary) + set(DICT_GENERATED_DIR ${CMAKE_CURRENT_BINARY_DIR}) + + |
