summaryrefslogtreecommitdiff
path: root/wordnet-3.0-fix_resourcedir_path.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-09-13 11:03:38 +0000
committerCoprDistGit <infra@openeuler.org>2023-09-13 11:03:38 +0000
commit6dc53110f30d6b433f12d60f9e1f3047503c1edf (patch)
tree857a84df3b1864081129dda6117ea28fbfb007db /wordnet-3.0-fix_resourcedir_path.patch
parent9922d4926395d75a6d334cad1ba2233febd52aa5 (diff)
automatic import of wordnetopeneuler23.03
Diffstat (limited to 'wordnet-3.0-fix_resourcedir_path.patch')
-rw-r--r--wordnet-3.0-fix_resourcedir_path.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/wordnet-3.0-fix_resourcedir_path.patch b/wordnet-3.0-fix_resourcedir_path.patch
new file mode 100644
index 0000000..b31c42c
--- /dev/null
+++ b/wordnet-3.0-fix_resourcedir_path.patch
@@ -0,0 +1,12 @@
+diff -urNad wordnet-3.0/src/wnb.orig wordnet-3.0/src/wnb
+--- wordnet-3.0/src/wnb.orig 2005-06-07 21:19:22.000000000 +0200
++++ wordnet-3.0/src/wnb 2006-01-08 13:54:23.537621328 +0100
+@@ -103,7 +103,7 @@
+
+ if {$tcl_platform(platform) == "unix"} {
+ if {[lsearch -exact [array names env] WNHOME] == -1} {
+- set resourcedir "/usr/local/WordNet-3.0/lib/wnres"
++ set resourcedir "/usr/share/wordnet-3.0/lib/wnres"
+ } else {
+ set resourcedir "$env(WNHOME)/lib/wnres"
+ }