diff options
author | Marcelo Góes <vanquirius@gentoo.org> | 2005-09-29 01:29:51 +0000 |
---|---|---|
committer | Marcelo Góes <vanquirius@gentoo.org> | 2005-09-29 01:29:51 +0000 |
commit | 4d6986ab396fc62374bbb17a366b4add671867a9 (patch) | |
tree | 08570341c1de950d0c7d55f9992d809723e6ad0e /app-text/ots/files | |
parent | Stable on mips. (diff) | |
download | gentoo-2-4d6986ab396fc62374bbb17a366b4add671867a9.tar.gz gentoo-2-4d6986ab396fc62374bbb17a366b4add671867a9.tar.bz2 gentoo-2-4d6986ab396fc62374bbb17a366b4add671867a9.zip |
Do not dodoc INSTALL, add gcc4 patch
(Portage version: 2.0.52-r1)
Diffstat (limited to 'app-text/ots/files')
-rw-r--r-- | app-text/ots/files/ots-0.4.2-gcc4.diff | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/app-text/ots/files/ots-0.4.2-gcc4.diff b/app-text/ots/files/ots-0.4.2-gcc4.diff new file mode 100644 index 000000000000..7ec0f46a8fed --- /dev/null +++ b/app-text/ots/files/ots-0.4.2-gcc4.diff @@ -0,0 +1,21 @@ +--- ots-0.4.2.orig/src/article.c 2005-09-28 22:11:41.000000000 -0300 ++++ ots-0.4.2/src/article.c 2005-09-28 22:18:24.000000000 -0300 +@@ -35,7 +35,7 @@ + ots_new_sentence (void) + { + OtsSentence *aLine = g_new0 (OtsSentence, 1); +- (GList *) aLine->words = NULL; ++ aLine->words = (GList *)NULL; + aLine->wc = 0; + aLine->selected = 0; + aLine->score = 0; +--- ots-0.4.2.orig/src/grader-tf.c 2005-09-28 22:11:41.000000000 -0300 ++++ ots-0.4.2/src/grader-tf.c 2005-09-28 22:21:48.000000000 -0300 +@@ -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*/ + |