freebsd-ports/textproc/wordnet/files/patch-wnrtl
Mikhail Teterin 8ebfc55a6e 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
2006-01-16 03:48:42 +00:00

17 lines
533 B
Text

--- lib/wnrtl.c Fri May 6 13:17:39 2005
+++ lib/wnrtl.c Wed Dec 21 00:21:04 2005
@@ -8,5 +8,5 @@
#include "wn.h"
-static char *Id = "$Id: wnrtl.c,v 1.8 2005/01/27 17:33:54 wn Rel $";
+__FBSDID("$Id: wnrtl.c,v 1.8 2005/01/27 17:33:54 wn Rel $");
/* Search code variables and flags */
@@ -43,6 +43,5 @@
Default function provided in library returns -1 */
-int default_display_message(char *);
-int (*display_message)(char *) = default_display_message;
+int (*display_message)(const char *) = default_display_message;
/*