summaryrefslogtreecommitdiff
path: root/textproc/wordnet/files/patch-wnglobal
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2006-01-16 03:48:42 +0000
committerMikhail Teterin <mi@FreeBSD.org>2006-01-16 03:48:42 +0000
commit8ebfc55a6eebdea8999a838c47b84ac3aae8f8e4 (patch)
treec34641f77bda875b1082c7958d2dd3241ea893d6 /textproc/wordnet/files/patch-wnglobal
parentFix MASTER_SITE reorganisation (diff)
Finally update from 2.0 to 2.1. "Heavy Patching Zone" ensures WARNS=5
cleanliness in the main library (diffs to be sent to the vendor as in the past). The installed library is now called libWN, as vendor's build would call it, rather than libwn2, as the previous version of the port called it. This may upset the client port of p5 -- the maintainer is notified and awaits this commit. PR: ports/90323 Submitted by: clsung
Notes
Notes: svn path=/head/; revision=153618
Diffstat (limited to 'textproc/wordnet/files/patch-wnglobal')
-rw-r--r--textproc/wordnet/files/patch-wnglobal37
1 files changed, 37 insertions, 0 deletions
diff --git a/textproc/wordnet/files/patch-wnglobal b/textproc/wordnet/files/patch-wnglobal
new file mode 100644
index 000000000000..1047e896a50b
--- /dev/null
+++ b/textproc/wordnet/files/patch-wnglobal
@@ -0,0 +1,37 @@
+--- lib/wnglobal.c Fri May 6 13:17:39 2005
++++ lib/wnglobal.c Tue Dec 20 23:29:54 2005
+@@ -11,9 +11,9 @@
+ #endif
+
+-char *wnrelease = "2.1";
++const char *wnrelease = "2.1";
+
+ /* Lexicographer file names and numbers */
+
+-char *lexfiles[] = {
++const char *lexfiles[] = {
+ "adj.all", /* 0 */
+ "adj.pert", /* 1 */
+@@ -65,5 +65,5 @@
+ /* Pointer characters and searches */
+
+-char *ptrtyp[]={
++const char *ptrtyp[] = {
+ "", /* 0 not used */
+ "!", /* 1 ANTPTR */
+@@ -110,11 +110,11 @@
+ };
+
+-char *partnames[]={ "", "noun", "verb", "adj", "adv", NULL };
+-char partchars[] = " nvara"; /* add char for satellites to end */
+-char *adjclass[] = { "", "(p)", "(a)", "(ip)" };
++const char *partnames[]={ "", "noun", "verb", "adj", "adv", NULL };
++const char partchars[] = " nvara"; /* add char for satellites to end */
++const char *adjclass[] = { "", "(p)", "(a)", "(ip)" };
+
+ /* Text of verb sentence frames */
+
+-char *frametext[] = {
++const char *frametext[] = {
+ "",
+ "Something ----s",