1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/mail/ftrack/files/patch-src::ftrack.cpp
Max Khon 4095d64e48 - Unbreak on RELENG_5/6
- Remove dependency on gcc 2.95 assuming that support for gcc 2.7.2
is dropped long time ago
- Bump PORTREVISION

Approved by:	portmgr, MAINTAINER
2005-08-19 13:01:21 +00:00

23 lines
710 B
C++

--- src/ftrack.cpp.orig Fri Aug 19 17:58:00 2005
+++ src/ftrack.cpp Fri Aug 19 17:59:25 2005
@@ -42,8 +42,8 @@
#include "parsetpl.hpp"
#include "tmstamp.hpp"
#include "script.hpp"
-#include <iostream.h>
-#include <fstream.h>
+#include <iostream>
+#include <fstream>
#include <smapi/msgapi.h>
static struct utimbuf ut;
@@ -53,7 +53,7 @@
// Signals catch functions
// --------------------------------------------------------------------
void AbrtHndl(int Sign) {
-fstream fh ("FTrack.err", ios::append);
+fstream fh ("FTrack.err", ios::app);
cerr << "Internal Error!!! Please, read report.err in documentation.\n";
cerr << "---------------------------------------\n";