summaryrefslogtreecommitdiff
path: root/math/foma/files/patch-fomalib.h
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2014-05-07 14:34:24 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2014-05-07 14:34:24 +0000
commit8b86aa0005b08c5f19e4d92cf18284a74497840e (patch)
tree37281532f9a62777c8c3cbe1006101508ef26f0b /math/foma/files/patch-fomalib.h
parent- rc script now passes rclint (diff)
New port: foma.
Foma is a compiler, programming language, and C library for constructing finite-state automata and transducers for various uses. It has specific support for many natural language processing applications such as producing morphological analyzers. Although NLP applications are probably the main use of foma, it is sufficiently generic to use for a large number of purposes.
Diffstat (limited to 'math/foma/files/patch-fomalib.h')
-rw-r--r--math/foma/files/patch-fomalib.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/foma/files/patch-fomalib.h b/math/foma/files/patch-fomalib.h
new file mode 100644
index 000000000000..f250acb87beb
--- /dev/null
+++ b/math/foma/files/patch-fomalib.h
@@ -0,0 +1,11 @@
+--- fomalib.h.orig 2012-11-17 13:46:43.000000000 +0400
++++ fomalib.h 2014-05-07 18:16:20.000000000 +0400
+@@ -298,7 +298,7 @@
+ FEXPORT int save_defined();
+ FEXPORT int save_stack_att();
+ FEXPORT int write_prolog(struct fsm *net, char *filename);
+-FEXPORT int foma_net_print(struct fsm *net, gzFile *outfile);
++FEXPORT int foma_net_print(struct fsm *net, gzFile outfile);
+
+ /* Lookups */
+