summaryrefslogtreecommitdiff
path: root/sysutils/xosview/patches/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/xosview/patches/patch-ai')
-rw-r--r--sysutils/xosview/patches/patch-ai21
1 files changed, 21 insertions, 0 deletions
diff --git a/sysutils/xosview/patches/patch-ai b/sysutils/xosview/patches/patch-ai
new file mode 100644
index 00000000000..f69068151dd
--- /dev/null
+++ b/sysutils/xosview/patches/patch-ai
@@ -0,0 +1,21 @@
+$NetBSD: patch-ai,v 1.1 2003/09/30 23:03:59 christos Exp $
+
+--- bsd/btrymeter.cc.orig 1999-02-16 09:09:22.000000000 -0500
++++ bsd/btrymeter.cc 2003-09-30 18:39:27.000000000 -0400
+@@ -11,6 +11,7 @@
+ //
+ #include "btrymeter.h"
+ #include "xosview.h"
++#include <iostream>
+ #include <fstream.h>
+ #include <stdlib.h>
+
+@@ -52,7 +53,7 @@
+ int loadinfo = open(APMFILENAME, O_RDONLY, 0);
+
+ if ( !loadinfo ){
+- cerr <<"Can not open file : " <<APMFILENAME <<endl;
++ std::cerr <<"Can not open file : " <<APMFILENAME << std::endl;
+ parent_->done(1);
+ return;
+ }