From 4d6986ab396fc62374bbb17a366b4add671867a9 Mon Sep 17 00:00:00 2001 From: Marcelo Góes Date: Thu, 29 Sep 2005 01:29:51 +0000 Subject: Do not dodoc INSTALL, add gcc4 patch (Portage version: 2.0.52-r1) --- app-text/ots/files/ots-0.4.2-gcc4.diff | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 app-text/ots/files/ots-0.4.2-gcc4.diff (limited to 'app-text/ots/files') 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 + #include + #include "libots.h" ++#include + + /*Grader - using the Term frequency algorithm. Will give each line a score*/ + -- cgit v1.2.3-65-gdbad