pkgsrc/textproc/isearch/patches/patch-src_fc.cxx
dholland 1996770c3c Chase after that moving target known lightly as the C++ "standard".
Fixes build. Also clean up insecure-temporary-files. PKGREVISION -> 1.
2012-12-21 10:29:46 +00:00

18 lines
501 B
C++

$NetBSD: patch-src_fc.cxx,v 1.1 2012/12/21 10:29:47 dholland Exp $
Chase after the C++ standard:
- use "std" qualification
--- src/fc.cxx~ 1996-12-21 00:40:54.000000000 +0000
+++ src/fc.cxx
@@ -46,8 +46,8 @@ void FC::FlipBytes() {
GpSwab(&FieldEnd);
}
-ostream& operator<<(ostream& Os, const FC& Fc) {
- Os << Fc.FieldStart << ' ' << Fc.FieldEnd << endl;
+std::ostream& operator<<(std::ostream& Os, const FC& Fc) {
+ Os << Fc.FieldStart << ' ' << Fc.FieldEnd << std::endl;
return Os;
}