openbsd-ports/textproc/ots/patches/patch-src_grader-tf_c
jasper e340a00547 - add missing header to fix potential 64-bit problems
- regen PLIST
- specify license version
- fix WANTLIB
2008-11-20 23:37:25 +00:00

12 lines
366 B
Plaintext

$OpenBSD: patch-src_grader-tf_c,v 1.1 2008/11/20 23:37:25 jasper Exp $
--- src/grader-tf.c.orig Fri Nov 21 00:30:10 2008
+++ src/grader-tf.c Fri Nov 21 00:30:25 2008
@@ -21,6 +21,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <math.h>
#include "libots.h"
/*Grader - using the Term frequency algorithm. Will give each line a score*/