summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/ots/files/ots-0.5.0-math.patch')
-rw-r--r--app-text/ots/files/ots-0.5.0-math.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-text/ots/files/ots-0.5.0-math.patch b/app-text/ots/files/ots-0.5.0-math.patch
new file mode 100644
index 000000000000..da964c25f612
--- /dev/null
+++ b/app-text/ots/files/ots-0.5.0-math.patch
@@ -0,0 +1,11 @@
+diff --exclude='*~' -Naur ots-0.5.0.orig/src/grader-tf.c ots-0.5.0/src/grader-tf.c
+--- ots-0.5.0.orig/src/grader-tf.c 2008-05-17 12:17:23.000000000 +0000
++++ ots-0.5.0/src/grader-tf.c 2008-05-17 12:17:37.000000000 +0000
+@@ -22,6 +22,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include "libots.h"
++#include <math.h>
+
+ /*Grader - using the Term frequency algorithm. Will give each line a score*/
+