91 lines
4.0 KiB
Diff
91 lines
4.0 KiB
Diff
diff -Naur WordNet-3.0/configure WordNet-3.0.patched/configure
|
|
--- WordNet-3.0/configure 2007-01-20 14:59:45.000000000 -0500
|
|
+++ WordNet-3.0.patched/configure 2024-08-31 17:12:29.805494808 -0400
|
|
@@ -4286,7 +4286,7 @@
|
|
|
|
|
|
cat >>confdefs.h <<_ACEOF
|
|
-#define DEFAULTPATH "$ac_prefix/dict"
|
|
+#define DEFAULTPATH "$datadir/dict"
|
|
_ACEOF
|
|
|
|
|
|
diff -Naur WordNet-3.0/dict/Makefile WordNet-3.0.patched/dict/Makefile
|
|
--- WordNet-3.0/dict/Makefile 2007-01-20 16:21:51.000000000 -0500
|
|
+++ WordNet-3.0.patched/dict/Makefile 2024-08-31 17:19:08.301457306 -0400
|
|
@@ -136,7 +136,7 @@
|
|
sharedstatedir = ${prefix}/com
|
|
sysconfdir = ${prefix}/etc
|
|
target_alias =
|
|
-dictdir = $(prefix)/dict
|
|
+dictdir = $(datadir)/dict
|
|
dict_DATA = adj.exc adv.exc cntlist cntlist.rev data.adj data.adv data.noun data.verb frames.vrb index.adj index.adv index.noun index.sense index.verb log.grind.3.0 noun.exc sentidx.vrb sents.vrb verb.Framestext verb.exc lexnames
|
|
all: all-am
|
|
|
|
diff -Naur WordNet-3.0/dict/Makefile.am WordNet-3.0.patched/dict/Makefile.am
|
|
--- WordNet-3.0/dict/Makefile.am 2006-12-18 16:30:07.000000000 -0500
|
|
+++ WordNet-3.0.patched/dict/Makefile.am 2024-08-31 17:20:04.197452046 -0400
|
|
@@ -1,2 +1,2 @@
|
|
-dictdir = $(prefix)/dict
|
|
+dictdir = $(datadir)/dict
|
|
dict_DATA = adj.exc adv.exc cntlist cntlist.rev data.adj data.adv data.noun data.verb frames.vrb index.adj index.adv index.noun index.sense index.verb log.grind.3.0 noun.exc sentidx.vrb sents.vrb verb.Framestext verb.exc lexnames
|
|
diff -Naur WordNet-3.0/dict/Makefile.in WordNet-3.0.patched/dict/Makefile.in
|
|
--- WordNet-3.0/dict/Makefile.in 2007-01-20 15:54:18.000000000 -0500
|
|
+++ WordNet-3.0.patched/dict/Makefile.in 2024-08-31 17:20:20.053450553 -0400
|
|
@@ -136,7 +136,7 @@
|
|
sharedstatedir = @sharedstatedir@
|
|
sysconfdir = @sysconfdir@
|
|
target_alias = @target_alias@
|
|
-dictdir = $(prefix)/dict
|
|
+dictdir = $(datadir)/dict
|
|
dict_DATA = adj.exc adv.exc cntlist cntlist.rev data.adj data.adv data.noun data.verb frames.vrb index.adj index.adv index.noun index.sense index.verb log.grind.3.0 noun.exc sentidx.vrb sents.vrb verb.Framestext verb.exc lexnames
|
|
all: all-am
|
|
|
|
diff -Naur WordNet-3.0/include/wn.h WordNet-3.0.patched/include/wn.h
|
|
--- WordNet-3.0/include/wn.h 2007-01-03 16:51:35.000000000 -0500
|
|
+++ WordNet-3.0.patched/include/wn.h 2024-08-31 17:15:16.912479082 -0400
|
|
@@ -29,7 +29,7 @@
|
|
#else
|
|
#define DICTDIR "/dict"
|
|
#ifndef DEFAULTPATH
|
|
-#define DEFAULTPATH "/usr/local/WordNet-3.0/dict"
|
|
+#define DEFAULTPATH "/usr/share/wordnet/dict"
|
|
#endif
|
|
#define DATAFILE "%s/data.%s"
|
|
#define INDEXFILE "%s/index.%s"
|
|
diff -Naur WordNet-3.0/lib/wnres/Makefile.am WordNet-3.0.patched/lib/wnres/Makefile.am
|
|
--- WordNet-3.0/lib/wnres/Makefile.am 2006-11-14 16:25:17.000000000 -0500
|
|
+++ WordNet-3.0.patched/lib/wnres/Makefile.am 2024-08-31 17:29:05.214401131 -0400
|
|
@@ -1,3 +1,3 @@
|
|
EXTRA_DIST = license.txt wn.xbm wnb.man wngloss.man
|
|
-wnresdir = $(prefix)/lib/wnres
|
|
+wnresdir = $(datadir)/wnres
|
|
wnres_DATA = license.txt wn.xbm wnb.man wngloss.man
|
|
diff -Naur WordNet-3.0/lib/wnres/Makefile.in WordNet-3.0.patched/lib/wnres/Makefile.in
|
|
--- WordNet-3.0/lib/wnres/Makefile.in 2007-01-20 15:54:22.000000000 -0500
|
|
+++ WordNet-3.0.patched/lib/wnres/Makefile.in 2024-08-31 17:29:21.413399606 -0400
|
|
@@ -137,7 +137,7 @@
|
|
sysconfdir = @sysconfdir@
|
|
target_alias = @target_alias@
|
|
EXTRA_DIST = license.txt wn.xbm wnb.man wngloss.man
|
|
-wnresdir = $(prefix)/lib/wnres
|
|
+wnresdir = $(datadir)/wnres
|
|
wnres_DATA = license.txt wn.xbm wnb.man wngloss.man
|
|
all: all-am
|
|
|
|
diff -Naur WordNet-3.0/src/wnb WordNet-3.0.patched/src/wnb
|
|
--- WordNet-3.0/src/wnb 2006-12-18 17:38:20.000000000 -0500
|
|
+++ WordNet-3.0.patched/src/wnb 2024-08-31 17:14:51.677481457 -0400
|
|
@@ -103,9 +103,9 @@
|
|
|
|
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/wnres"
|
|
} else {
|
|
- set resourcedir "$env(WNHOME)/lib/wnres"
|
|
+ set resourcedir "$env(WNHOME)/wnres"
|
|
}
|
|
set configfile "$env(HOME)/.wnrc"
|
|
if [ file exists $configfile ] {
|