sdcv: fix hardcoded prefix path (#7162)
This commit is contained in:
parent
f0adf8c2da
commit
a7b71b8de6
12
packages/sdcv/src-sdcv.cpp.patch
Normal file
12
packages/sdcv/src-sdcv.cpp.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -uNr sdcv-0.5.3/src/sdcv.cpp sdcv-0.5.3.mod/src/sdcv.cpp
|
||||
--- sdcv-0.5.3/src/sdcv.cpp 2020-08-14 18:06:51.000000000 +0800
|
||||
+++ sdcv-0.5.3.mod/src/sdcv.cpp 2021-07-19 00:10:19.833094383 +0800
|
||||
@@ -136,7 +136,7 @@
|
||||
if (stardict_data_dir)
|
||||
data_dir = stardict_data_dir;
|
||||
else
|
||||
- data_dir = "/usr/share/stardict/dic";
|
||||
+ data_dir = "@TERMUX_PREFIX@/share/stardict/dic";
|
||||
}
|
||||
} else {
|
||||
data_dir = get_impl(opt_data_dir);
|
Loading…
Reference in New Issue
Block a user