Date: Mon, 4 Nov 2013 20:24:06 +0000 (UTC) From: Stefan Walter <stefan@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332774 - in head/mail/spamprobe: . files Message-ID: <201311042024.rA4KO7UP026309@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: stefan Date: Mon Nov 4 20:24:06 2013 New Revision: 332774 URL: http://svnweb.freebsd.org/changeset/ports/332774 Log: Unbreak on 10 by patching missing #includes into source files. Added: head/mail/spamprobe/files/patch-src_database_DatabaseConfig.cc (contents, props changed) head/mail/spamprobe/files/patch-src_hdl_HdlTokenizer.cc (contents, props changed) head/mail/spamprobe/files/patch-src_includes_MultiLineSubString.h (contents, props changed) head/mail/spamprobe/files/patch-src_includes_util.h (contents, props changed) head/mail/spamprobe/files/patch-src_parser_AutoTrainMailMessageReader.cc (contents, props changed) head/mail/spamprobe/files/patch-src_parser_HtmlTokenizer.cc (contents, props changed) head/mail/spamprobe/files/patch-src_parser_MailMessageReader.cc (contents, props changed) head/mail/spamprobe/files/patch-src_parser_MbxMailMessageReader.cc (contents, props changed) head/mail/spamprobe/files/patch-src_spamprobe_Command_cleanup.cc (contents, props changed) head/mail/spamprobe/files/patch-src_spamprobe_Command_edit_term.cc (contents, props changed) head/mail/spamprobe/files/patch-src_spamprobe_Command_exec.cc (contents, props changed) head/mail/spamprobe/files/patch-src_spamprobe_Command_import.cc (contents, props changed) head/mail/spamprobe/files/patch-src_spamprobe_Command_purge.cc (contents, props changed) head/mail/spamprobe/files/patch-src_spamprobe_spamprobe.cc (contents, props changed) Modified: head/mail/spamprobe/Makefile Modified: head/mail/spamprobe/Makefile ============================================================================== --- head/mail/spamprobe/Makefile Mon Nov 4 20:21:53 2013 (r332773) +++ head/mail/spamprobe/Makefile Mon Nov 4 20:24:06 2013 (r332774) @@ -18,7 +18,7 @@ PLIST_FILES= bin/spamprobe man/man1/spam .include <bsd.port.pre.mk> .if ${OSVERSION} >= 1000024 -BROKEN= does not build with clang +USE_GCC= yes .endif # PBL support Added: head/mail/spamprobe/files/patch-src_database_DatabaseConfig.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/spamprobe/files/patch-src_database_DatabaseConfig.cc Mon Nov 4 20:24:06 2013 (r332774) @@ -0,0 +1,10 @@ +--- src/database/DatabaseConfig.cc.orig 2013-11-03 21:52:55.000000000 +0100 ++++ src/database/DatabaseConfig.cc 2013-11-03 21:53:35.000000000 +0100 +@@ -29,6 +29,7 @@ + // + + #include <stdexcept> ++#include <cstdlib> + #include "File.h" + #include "WordData.h" + #include "FrequencyDBImpl.h" Added: head/mail/spamprobe/files/patch-src_hdl_HdlTokenizer.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/spamprobe/files/patch-src_hdl_HdlTokenizer.cc Mon Nov 4 20:24:06 2013 (r332774) @@ -0,0 +1,10 @@ +--- src/hdl/HdlTokenizer.cc.orig 2013-11-04 19:31:52.000000000 +0100 ++++ src/hdl/HdlTokenizer.cc 2013-11-04 19:32:22.000000000 +0100 +@@ -28,6 +28,7 @@ + // http://www.cooldevtools.com/qpl.html + // + ++#include <cstdlib> + #include "AbstractCharReader.h" + #include "HdlError.h" + #include "HdlToken.h" Added: head/mail/spamprobe/files/patch-src_includes_MultiLineSubString.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/spamprobe/files/patch-src_includes_MultiLineSubString.h Mon Nov 4 20:24:06 2013 (r332774) @@ -0,0 +1,10 @@ +--- src/includes/MultiLineSubString.h.orig 2013-11-03 22:06:31.000000000 +0100 ++++ src/includes/MultiLineSubString.h 2013-11-03 22:06:50.000000000 +0100 +@@ -31,6 +31,7 @@ + #ifndef _MultiLineSubString_h + #define _MultiLineSubString_h + ++#include <limits.h> + #include "AbstractMultiLineString.h" + + class MultiLineSubString : public AbstractMultiLineString Added: head/mail/spamprobe/files/patch-src_includes_util.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/spamprobe/files/patch-src_includes_util.h Mon Nov 4 20:24:06 2013 (r332774) @@ -0,0 +1,10 @@ +--- src/includes/util.h.orig 2013-11-03 21:42:41.000000000 +0100 ++++ src/includes/util.h 2013-11-03 21:42:54.000000000 +0100 +@@ -42,6 +42,7 @@ + #include <cassert> + #include <iostream> + #include <cstdio> ++#include <cstring> + #include "Ptr.h" + #include "Ref.h" + Added: head/mail/spamprobe/files/patch-src_parser_AutoTrainMailMessageReader.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/spamprobe/files/patch-src_parser_AutoTrainMailMessageReader.cc Mon Nov 4 20:24:06 2013 (r332774) @@ -0,0 +1,10 @@ +--- src/parser/AutoTrainMailMessageReader.cc.orig 2013-11-03 22:30:29.000000000 +0100 ++++ src/parser/AutoTrainMailMessageReader.cc 2013-11-03 22:33:21.000000000 +0100 +@@ -28,6 +28,7 @@ + // http://www.cooldevtools.com/qpl.html + // + ++#include <cstdlib> + #include "MailMessage.h" + #include "AutoTrainMailMessageReader.h" + Added: head/mail/spamprobe/files/patch-src_parser_HtmlTokenizer.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/spamprobe/files/patch-src_parser_HtmlTokenizer.cc Mon Nov 4 20:24:06 2013 (r332774) @@ -0,0 +1,10 @@ +--- src/parser/HtmlTokenizer.cc.orig 2013-11-03 22:09:11.000000000 +0100 ++++ src/parser/HtmlTokenizer.cc 2013-11-03 22:10:10.000000000 +0100 +@@ -28,6 +28,7 @@ + // http://www.cooldevtools.com/qpl.html + // + ++#include <cstdlib> + #include "AbstractTokenReceiver.h" + #include "StringReader.h" + #include "RegularExpression.h" Added: head/mail/spamprobe/files/patch-src_parser_MailMessageReader.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/spamprobe/files/patch-src_parser_MailMessageReader.cc Mon Nov 4 20:24:06 2013 (r332774) @@ -0,0 +1,10 @@ +--- src/parser/MailMessageReader.cc.orig 2013-11-03 22:12:15.000000000 +0100 ++++ src/parser/MailMessageReader.cc 2013-11-03 22:12:34.000000000 +0100 +@@ -28,6 +28,7 @@ + // http://www.cooldevtools.com/qpl.html + // + ++#include <cstdlib> + #include "RegularExpression.h" + #include "MailMessage.h" + #include "MailMessageList.h" Added: head/mail/spamprobe/files/patch-src_parser_MbxMailMessageReader.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/spamprobe/files/patch-src_parser_MbxMailMessageReader.cc Mon Nov 4 20:24:06 2013 (r332774) @@ -0,0 +1,10 @@ +--- src/parser/MbxMailMessageReader.cc.orig 2013-11-03 22:13:39.000000000 +0100 ++++ src/parser/MbxMailMessageReader.cc 2013-11-03 22:14:42.000000000 +0100 +@@ -28,6 +28,7 @@ + // http://www.cooldevtools.com/qpl.html + // + ++#include <cstdlib> + #include <stdexcept> + #include "MailMessage.h" + #include "MailMessageList.h" Added: head/mail/spamprobe/files/patch-src_spamprobe_Command_cleanup.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/spamprobe/files/patch-src_spamprobe_Command_cleanup.cc Mon Nov 4 20:24:06 2013 (r332774) @@ -0,0 +1,10 @@ +--- src/spamprobe/Command_cleanup.cc.orig 2013-11-04 19:59:51.000000000 +0100 ++++ src/spamprobe/Command_cleanup.cc 2013-11-04 20:00:38.000000000 +0100 +@@ -28,6 +28,7 @@ + // http://www.cooldevtools.com/qpl.html + // + ++#include <cstdlib> + #include "CleanupManager.h" + #include "SpamFilter.h" + #include "FrequencyDB.h" Added: head/mail/spamprobe/files/patch-src_spamprobe_Command_edit_term.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/spamprobe/files/patch-src_spamprobe_Command_edit_term.cc Mon Nov 4 20:24:06 2013 (r332774) @@ -0,0 +1,10 @@ +--- src/spamprobe/Command_edit_term.cc.orig 2013-11-04 19:59:38.000000000 +0100 ++++ src/spamprobe/Command_edit_term.cc 2013-11-04 20:00:17.000000000 +0100 +@@ -28,6 +28,7 @@ + // http://www.cooldevtools.com/qpl.html + // + ++#include <cstdlib> + #include "SpamFilter.h" + #include "FrequencyDB.h" + #include "CommandConfig.h" Added: head/mail/spamprobe/files/patch-src_spamprobe_Command_exec.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/spamprobe/files/patch-src_spamprobe_Command_exec.cc Mon Nov 4 20:24:06 2013 (r332774) @@ -0,0 +1,10 @@ +--- src/spamprobe/Command_exec.cc.orig 2013-11-04 19:54:52.000000000 +0100 ++++ src/spamprobe/Command_exec.cc 2013-11-04 19:55:14.000000000 +0100 +@@ -28,6 +28,7 @@ + // http://www.cooldevtools.com/qpl.html + // + ++#include <cstdlib> + #include "SpamFilter.h" + #include "CommandConfig.h" + #include "ConfigManager.h" Added: head/mail/spamprobe/files/patch-src_spamprobe_Command_import.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/spamprobe/files/patch-src_spamprobe_Command_import.cc Mon Nov 4 20:24:06 2013 (r332774) @@ -0,0 +1,10 @@ +--- src/spamprobe/Command_import.cc.orig 2013-11-04 20:00:58.000000000 +0100 ++++ src/spamprobe/Command_import.cc 2013-11-04 20:01:11.000000000 +0100 +@@ -28,6 +28,7 @@ + // http://www.cooldevtools.com/qpl.html + // + ++#include <cstdlib> + #include <fstream> + #include "LineReader.h" + #include "IstreamCharReader.h" Added: head/mail/spamprobe/files/patch-src_spamprobe_Command_purge.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/spamprobe/files/patch-src_spamprobe_Command_purge.cc Mon Nov 4 20:24:06 2013 (r332774) @@ -0,0 +1,10 @@ +--- src/spamprobe/Command_purge.cc.orig 2013-11-04 20:01:56.000000000 +0100 ++++ src/spamprobe/Command_purge.cc 2013-11-04 20:02:10.000000000 +0100 +@@ -28,6 +28,7 @@ + // http://www.cooldevtools.com/qpl.html + // + ++#include <cstdlib> + #include "CleanupManager.h" + #include "SpamFilter.h" + #include "FrequencyDB.h" Added: head/mail/spamprobe/files/patch-src_spamprobe_spamprobe.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/spamprobe/files/patch-src_spamprobe_spamprobe.cc Mon Nov 4 20:24:06 2013 (r332774) @@ -0,0 +1,10 @@ +--- src/spamprobe/spamprobe.cc.orig 2013-11-04 20:48:33.000000000 +0100 ++++ src/spamprobe/spamprobe.cc 2013-11-04 20:48:51.000000000 +0100 +@@ -28,6 +28,7 @@ + // http://www.cooldevtools.com/qpl.html + // + ++#include <cstdlib> + #include <unistd.h> + #include <locale.h> + #include <signal.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311042024.rA4KO7UP026309>